Commit | Line | Data |
---|---|---|
a114e80c JB |
1 | # Description: xorg lib libICE |
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-xproto xorg-xtrans | |
6 | ||
7 | name=xorg-libice | |
8 | version=1.0.6 | |
9 | release=1 | |
10 | source=(http://xorg.freedesktop.org/releases/individual/lib/libICE-$version.tar.bz2) | |
11 | ||
12 | build() { | |
13 | cd libICE-$version | |
14 | ||
15 | export DEFAULT_LIBS="-L$CLFS/lib -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg -L$CLFS/usr/lib/xorg/modules" | |
16 | export DEFAULT_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions" | |
17 | export ICE_LIBS="$DEFAULT_LIBS" | |
18 | export ICE_CFLAGS="$DEFAULT_CFLAGS" | |
19 | export XTRANS_LIBS="$DEFAULT_LIBS" | |
20 | export XTRANS_CFLAGS="$DEFAULT_CFLAGS" | |
21 | ||
22 | ./configure --build=$CHOST \ | |
23 | --host=$CTARGET \ | |
24 | --prefix=/usr | |
25 | ||
26 | make | |
27 | make DESTDIR=$PKG install | |
28 | } |