1 # Description: X Window System RGB database
2 # URL: http://xorg.freedesktop.org
3 # Maintainer: Tilman Sauerbeck tilman at crux dot nu
4 # Arch Maintainer System Team devel at crux-arm dot nu
5 # Depends on: xorg-xproto
10 source=(http://xorg.freedesktop.org/releases/individual/app/rgb-$version.tar.bz2)
15 sed 's| pkg_failed=yes| pkg_failed=no|' -i configure
17 export XORG_LIBS="-L$CLFS/lib -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg -L$CLFS/usr/lib/xorg/modules"
18 export XORG_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
19 export RGB_LIBS="$XORG_LIBS"
20 export RGB_CFLAGS="$XORG_CFLAGS"
22 ./configure --build=$CHOST \
28 make DESTDIR=$PKG install