Commit | Line | Data |
---|---|---|
caf2c984 JB |
1 | # Description: X Resize and Rotate extension client library |
2 | # URL: http://xorg.freedesktop.org | |
3 | # Maintainer: Tilman Sauerbeck tilman at crux dot nu | |
4 | # Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org | |
5 | # Depends on: xorg-libx11 xorg-randrproto xorg-xextproto xorg-libxext xorg-libxrender xorg-renderproto | |
6 | ||
7 | name=xorg-libxrandr | |
8 | version=1.3.0 | |
9 | release=1 | |
10 | source=(http://xorg.freedesktop.org/releases/individual/lib/libXrandr-$version.tar.bz2) | |
11 | ||
12 | build() { | |
13 | cd libXrandr-$version | |
14 | ||
15 | export RANDR_LIBS="-L$CLFS/usr/lib -lXext -lXrender -lX11" | |
16 | export RANDR_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" | |
17 | ||
18 | ./configure --build=$CHOST \ | |
19 | --host=$CTARGET \ | |
20 | --prefix=/usr \ | |
21 | --mandir=/usr/man \ | |
22 | --enable-malloc0returnsnull | |
23 | ||
24 | make | |
25 | make DESTDIR=$PKG install | |
26 | } |