CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-xauth: added missing dep xorg-libxv
[attic/ports/xorg-cross.git] / xorg-xhost / Pkgfile
CommitLineData
0548d651
JB
1# Description: x server access control program
2# URL: http://xorg.freedesktop.org
3# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
bab2a29c 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
0548d651
JB
5# Depends on: xorg-libxmu
6
7name=xorg-xhost
8version=1.0.2
9release=1
10source=(http://xorg.freedesktop.org/releases/individual/app/xhost-$version.tar.bz2 \
11 xhost-$version.cross_compile.patch)
12
13build() {
14 cd xhost-$version
15 patch -p1 -i $SRC/xhost-$version.cross_compile.patch
16
17 export XHOST_LIBS="-L$CLFS/usr/lib -lXmuu -lX11 -lXau"
18 export XHOST_CFLAGS="-I$CLFS/usr/include"
19
20 ./configure --build=$CHOST \
21 --host=$CTARGET \
22 --prefix=/usr \
23 --mandir=/usr/man
24
25 make xhost_CFLAGS="$XHOST_CFLAGS" xhost_LDADD="$XHOST_LIBS"
26 make DESTDIR=$PKG install
27}