| 1 | # Description: X Authorization routines |
| 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-xproto |
| 6 | |
| 7 | name=xorg-libxau |
| 8 | version=1.0.5 |
| 9 | release=1 |
| 10 | source=(http://xorg.freedesktop.org/releases/individual/lib/libXau-$version.tar.bz2) |
| 11 | |
| 12 | build() { |
| 13 | cd libXau-$version |
| 14 | |
| 15 | export X11_LIBS="-L$CLFS/usr/lib" |
| 16 | export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" |
| 17 | export XPROTO_LIBS="$X11_LIBS" |
| 18 | export XPROTO_CFLAGS="$X11_CFLAGS" |
| 19 | export XAU_LIBS="$X11_LIBS" |
| 20 | export XAU_CFLAGS="$X11_CFLAGS" |
| 21 | |
| 22 | ./configure --build=$CHOST \ |
| 23 | --host=$CTARGET \ |
| 24 | --prefix=/usr \ |
| 25 | --mandir=/usr/man |
| 26 | |
| 27 | make |
| 28 | make DESTDIR=$PKG install |
| 29 | } |