CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-libsm: initial import (verified compilation)
[attic/ports/xorg-cross.git] / xorg-xf86-input-evdev / Pkgfile
CommitLineData
e9d0063a
JB
1# Description: xorg driver xf86-input-evdev
2# URL: http://xorg.freedesktop.org
3# Maintainer: Tilman Sauerbeck tilman at crux dot nu
4# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
5# Depends on: xorg-server
6
7name=xorg-xf86-input-evdev
8version=2.3.1
9release=1
10source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-input-evdev-$version.tar.bz2)
11
12build() {
13 cd xf86-input-evdev-$version
14
15 export DEFAULT_LIBS="-L$CLFS/lib -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg -L$CLFS/usr/lib/xorg/modules"
16 export DEFAULT_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
17 export XORG_LIBS="$DEFAULT_LIBS -lXfont -lXrender -lXau -lpixman-1 -lXdmcp -lXv -lcrypt"
18 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"
19
20 ./configure --build=$CHOST \
21 --host=$CTARGET \
22 --prefix=/usr \
23 --mandir=/usr/man
24
25 make
26 make DESTDIR=$PKG install
27}