CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-xauth: initial import (verified compilation)
[attic/ports/xorg-cross.git] / xorg-libxi / Pkgfile
1 # Depends on: xorg-xproto, xorg-libx11, xorg-xextproto, xorg-libxext, xorg-inputproto
2 # Description: X Input client library
3 # URL: http://xorg.freedesktop.org
4 # Maintainer: Tilman Sauerbeck tilman at crux dot nu
5 # Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
6 # Depends on: xorg-libx11 xorg-libxext
7
8 name=xorg-libxi
9 version=1.3
10 release=2
11 source=(http://xorg.freedesktop.org/releases/individual/lib/libXi-$version.tar.bz2)
12
13 build() {
14 cd libXi-$version
15
16 export X11_LIBS="-L$CLFS/usr/lib -lX11 -lXext"
17 export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
18 export XI_LIBS="$X11_LIBS"
19 export XI_CFLAGS="$X11_CFLAGS"
20
21 ./configure --build=$CHOST \
22 --host=$CTARGET \
23 --prefix=/usr \
24 --mandir=/usr/man \
25 --enable-malloc0returnsnull
26
27 make
28 make DESTDIR=$PKG install
29 }