CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-xf86-input-tslib: fixed name value in Pkgfile
[attic/ports/xorg-cross.git] / xorg-xf86-input-tslib / Pkgfile
CommitLineData
dafa6993
JB
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
665e3a0c 6name=xorg-xf86-input-tslib
dafa6993
JB
7version=0.0.6
8release=1
9source=(http://www.pengutronix.de/software/xf86-input-tslib/download/xf86-input-tslib-$version.tar.bz2)
10
11build() {
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}