CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-xauth: added missing dep xorg-libxv
[attic/ports/xorg-cross.git] / xorg-libxext / Pkgfile
CommitLineData
ba075e38
JB
1# Description: Common X extensions client library
2# URL: http://xorg.freedesktop.org
3# Maintainer: Tilman Sauerbeck tilman at crux dot nu
bab2a29c 4# Arch Maintainer System Team devel at crux-arm dot nu
ba075e38
JB
5# Depends on: xorg-libx11
6
7name=xorg-libxext
8version=1.1
9release=1
10source=(http://xorg.freedesktop.org/releases/individual/lib/libXext-$version.tar.bz2)
11
12build() {
13 cd libXext-$version
14
15 export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs"
16 export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
17 export XEXT_LIBS="$X11_LIBS"
18 export XEXT_CFLAGS="$X11_CFLAGS"
19
20 ./configure --build=$CHOST \
21 --host=$CTARGET \
22 --prefix=/usr \
23 --mandir=/usr/man \
24 --enable-malloc0returnsnull
25
26
27 make
28 make DESTDIR=$PKG install
29}