| 1 | # Description: xorg lib libxkbfile |
| 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 dyndns dot org |
| 5 | # Depends on: xorg-libx11 xorg-kbproto |
| 6 | |
| 7 | name=xorg-libxkbfile |
| 8 | version=1.0.6 |
| 9 | release=2 |
| 10 | source=(http://xorg.freedesktop.org/releases/individual/lib/libxkbfile-$version.tar.bz2) |
| 11 | |
| 12 | build() { |
| 13 | cd libxkbfile-$version |
| 14 | |
| 15 | export X11_LIBS="-L$CLFS/usr/lib -lX11" |
| 16 | export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" |
| 17 | export XKBFILE_LIBS="$X11_LIBS" |
| 18 | export XKBFILE_CFLAGS="$X11_CFLAGS" |
| 19 | |
| 20 | ./configure --build=$CHOST \ |
| 21 | --host=$CTARGET \ |
| 22 | --prefix=/usr |
| 23 | |
| 24 | make |
| 25 | make DESTDIR=$PKG install |
| 26 | } |