CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-xhost: initial import (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Wed, 27 Jan 2010 12:29:19 +0000 (13:29 +0100)
committerJose V Beneyto <sepen@crux.nu>
Wed, 27 Jan 2010 12:29:19 +0000 (13:29 +0100)
xorg-xhost/.footprint [new file with mode: 0644]
xorg-xhost/.md5sum [new file with mode: 0644]
xorg-xhost/Pkgfile [new file with mode: 0644]

diff --git a/xorg-xhost/.footprint b/xorg-xhost/.footprint
new file mode 100644 (file)
index 0000000..827f44e
--- /dev/null
@@ -0,0 +1,6 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/xhost
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man1/
+-rw-r--r--     root/root       usr/man/man1/xhost.1.gz
diff --git a/xorg-xhost/.md5sum b/xorg-xhost/.md5sum
new file mode 100644 (file)
index 0000000..696883c
--- /dev/null
@@ -0,0 +1,2 @@
+a18376d8fa620afcbab44a9a68dab232  xhost-1.0.2.cross_compile.patch
+f746aba36f075ae4cae313d849a94f4e  xhost-1.0.2.tar.bz2
diff --git a/xorg-xhost/Pkgfile b/xorg-xhost/Pkgfile
new file mode 100644 (file)
index 0000000..4b0ddb1
--- /dev/null
@@ -0,0 +1,27 @@
+# Description: x server access control program
+# URL: http://xorg.freedesktop.org
+# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: xorg-libxmu
+
+name=xorg-xhost
+version=1.0.2
+release=1
+source=(http://xorg.freedesktop.org/releases/individual/app/xhost-$version.tar.bz2 \
+        xhost-$version.cross_compile.patch)
+
+build() {
+  cd xhost-$version
+  patch -p1 -i $SRC/xhost-$version.cross_compile.patch
+
+  export XHOST_LIBS="-L$CLFS/usr/lib -lXmuu -lX11 -lXau"
+  export XHOST_CFLAGS="-I$CLFS/usr/include"
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --mandir=/usr/man
+  make xhost_CFLAGS="$XHOST_CFLAGS" xhost_LDADD="$XHOST_LIBS"
+  make DESTDIR=$PKG install
+}