Commit | Line | Data |
---|---|---|
ba075e38 JB |
1 | # Depends on: xorg-xproto, xorg-libx11, xorg-xextproto, xorg-libxau |
2 | # Description: Common X extensions 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 | |
7 | ||
8 | name=xorg-libxext | |
9 | version=1.1 | |
10 | release=1 | |
11 | source=(http://xorg.freedesktop.org/releases/individual/lib/libXext-$version.tar.bz2) | |
12 | ||
13 | build() { | |
14 | cd libXext-$version | |
15 | ||
16 | export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs" | |
17 | export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" | |
18 | export XEXT_LIBS="$X11_LIBS" | |
19 | export XEXT_CFLAGS="$X11_CFLAGS" | |
20 | ||
21 | ./configure --build=$CHOST \ | |
22 | --host=$CTARGET \ | |
23 | --prefix=/usr \ | |
24 | --mandir=/usr/man \ | |
25 | --enable-malloc0returnsnull | |
26 | ||
27 | ||
28 | make | |
29 | make DESTDIR=$PKG install | |
30 | } |