Commit | Line | Data |
---|---|---|
cc92d948 JB |
1 | # Description: xorg lib libXxf86misc |
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-libxext xorg-xf86miscproto | |
6 | ||
7 | name=xorg-libxxf86misc | |
8 | version=1.0.2 | |
9 | release=1 | |
10 | source=(http://xorg.freedesktop.org/releases/individual/lib/libXxf86misc-$version.tar.bz2) | |
11 | ||
12 | build() { | |
13 | cd libXxf86misc-$version | |
14 | ||
15 | export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs -lX11 -lXext" | |
16 | export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" | |
17 | export XXF86MISC_LIBS="$X11_LIBS" | |
18 | export XXF86MISC_CFLAGS="$X11_CFLAGS" | |
19 | ||
20 | ./configure --build=$CHOST \ | |
21 | --host=$CTARGET \ | |
22 | --prefix=/usr \ | |
23 | --mandir=/usr/man \ | |
24 | --enable-malloc0returnsnull | |
25 | ||
26 | make | |
27 | make DESTDIR=$PKG install | |
28 | } |