| 1 | # Description: xorg driver xf86-input-keyboard |
| 2 | # URL: http://xorg.freedesktop.org |
| 3 | # Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org |
| 4 | # Depends on: xorg-server |
| 5 | |
| 6 | name=xorg-xf86-input-tslib |
| 7 | version=0.0.6 |
| 8 | release=1 |
| 9 | source=(http://www.pengutronix.de/software/xf86-input-tslib/download/xf86-input-tslib-$version.tar.bz2) |
| 10 | |
| 11 | build() { |
| 12 | cd xf86-input-tslib-$version |
| 13 | |
| 14 | export DEFAULT_LIBS="-L$CLFS/lib -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg -L$CLFS/usr/lib/xorg/modules" |
| 15 | export DEFAULT_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" |
| 16 | export XORG_LIBS="$DEFAULT_LIBS -lXfont -lXrender -lXau -lpixman-1 -lXdmcp -lXv -lcrypt" |
| 17 | export XORG_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/xorg -fvisibility=hidden -DRENDER -DRANDR -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I$CLFS/usr/include/freetype2 -I$CLFS/usr/include/pixman-1" |
| 18 | |
| 19 | ./configure --build=$CHOST \ |
| 20 | --host=$CTARGET \ |
| 21 | --prefix=/usr \ |
| 22 | --mandir=/usr/man |
| 23 | |
| 24 | make |
| 25 | make DESTDIR=$PKG install |
| 26 | } |