Commit | Line | Data |
---|---|---|
411cd12c JB |
1 | # Depends on: xorg-libx11, xorg-libxext, xorg-resourceproto |
2 | # Description: X Resource 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-libxext xorg-resourceproto | |
7 | ||
8 | name=xorg-libxres | |
9 | version=1.0.4 | |
ffa4be91 | 10 | release=2 |
411cd12c JB |
11 | source=(http://xorg.freedesktop.org/releases/individual/lib/libXres-$version.tar.bz2) |
12 | ||
13 | build() { | |
14 | cd libXres-$version | |
15 | ||
ffa4be91 | 16 | export X11_LIBS="-L$CLFS/usr/lib -lX11 -lXext" |
411cd12c JB |
17 | export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" |
18 | export XRES_LIBS="$X11_LIBS" | |
19 | export XRES_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 | } |