Commit | Line | Data |
---|---|---|
0548d651 JB |
1 | # Description: x server access control program |
2 | # URL: http://xorg.freedesktop.org | |
3 | # Maintainer: Tilman Sauerbeck, tilman at crux dot nu | |
4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
5 | # Depends on: xorg-libxmu | |
6 | ||
7 | name=xorg-xhost | |
8 | version=1.0.2 | |
9 | release=1 | |
10 | source=(http://xorg.freedesktop.org/releases/individual/app/xhost-$version.tar.bz2 \ | |
11 | xhost-$version.cross_compile.patch) | |
12 | ||
13 | build() { | |
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 | } |