Commit | Line | Data |
---|---|---|
e529c563 JB |
1 | # Depends on: xorg-libx11, xorg-renderproto |
2 | # Description: X Render extension 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-renderproto | |
7 | ||
8 | name=xorg-libxrender | |
9 | version=0.9.5 | |
5129ec09 | 10 | release=2 |
e529c563 JB |
11 | source=(http://xorg.freedesktop.org/releases/individual/lib/libXrender-$version.tar.bz2) |
12 | ||
13 | build() { | |
14 | cd libXrender-$version | |
15 | ||
5129ec09 | 16 | export X11_LIBS="-L$CLFS/usr/lib -lX11" |
e529c563 JB |
17 | export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" |
18 | export RENDER_LIBS="$X11_LIBS" | |
19 | export RENDER_CFLAGS="$X11_CFLAGS" | |
20 | ||
21 | ||
22 | ./configure --build=$CHOST \ | |
23 | --host=$CTARGET \ | |
24 | --prefix=/usr \ | |
25 | --enable-malloc0returnsnull | |
26 | ||
27 | make | |
28 | make DESTDIR=$PKG install | |
29 | ||
30 | rm -rf $PKG/usr/share | |
31 | } |