From 0548d65165a2bbf3c1e5edd773dbe57e2f1dea7e Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Wed, 27 Jan 2010 13:29:19 +0100 Subject: [PATCH] xorg-xhost: initial import (verified compilation) --- xorg-xhost/.footprint | 6 ++++++ xorg-xhost/.md5sum | 2 ++ xorg-xhost/Pkgfile | 27 +++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 xorg-xhost/.footprint create mode 100644 xorg-xhost/.md5sum create mode 100644 xorg-xhost/Pkgfile diff --git a/xorg-xhost/.footprint b/xorg-xhost/.footprint new file mode 100644 index 0000000..827f44e --- /dev/null +++ b/xorg-xhost/.footprint @@ -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 index 0000000..696883c --- /dev/null +++ b/xorg-xhost/.md5sum @@ -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 index 0000000..4b0ddb1 --- /dev/null +++ b/xorg-xhost/Pkgfile @@ -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 +} -- 2.26.2