1 # Description: xorg lib libXt
2 # URL: http://xorg.freedesktop.org
3 # Maintainer: Tilman Sauerbeck tilman at crux dot nu
4 # Arch Maintainer System Team devel at crux-arm dot nu
5 # Depends on: xorg-libsm xorg-libx11 xorg-xproto xorg-kbproto
10 source=(http://xorg.freedesktop.org/releases/individual/lib/libXt-$version.tar.bz2)
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 XT_LIBS="$DEFAULT_LIBS -lSM -lICE -lX11"
18 export XT_CFLAGS="$DEFAULT_CFLAGS"
20 ./configure --build=$CHOST \
24 --enable-malloc0returnsnull
27 make DESTDIR=$PKG install