Commit | Line | Data |
---|---|---|
4467370b JB |
1 | # Description: xorg lib libXmu |
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-libxt xorg-xextproto xorg-libxext xorg-libx11 | |
6 | ||
7 | name=xorg-libxmu | |
8 | version=1.0.5 | |
0a4d7fa3 | 9 | release=2 |
4467370b JB |
10 | source=(http://xorg.freedesktop.org/releases/individual/lib/libXmu-$version.tar.bz2) |
11 | ||
12 | build() { | |
13 | cd libXmu-$version | |
14 | ||
0a4d7fa3 JB |
15 | export DEFAULT_LIBS="-L$CLFS/usr/lib" |
16 | export DEFAULT_CFLAGS="-I$CLFS/usr/include" | |
6edfc172 | 17 | export XMU_LIBS="$DEFAULT_LIBS -lXt -lSM -lICE -lXext -lX11" |
0a4d7fa3 JB |
18 | export XMU_CFLAGS="$DEFAULT_CFLAGS" |
19 | export XMUU_LIBS="$DEFAULT_LIBS -lX11" | |
20 | export XMUU_CFLAGS="$DEFAULT_CFLAGS" | |
4467370b JB |
21 | |
22 | ./configure --build=$CHOST \ | |
23 | --host=$CTARGET \ | |
24 | --prefix=/usr | |
25 | ||
26 | make | |
27 | make DESTDIR=$PKG install | |
28 | } |