1 # Description: X font rendering client library
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-libxrender freetype fontconfig
10 source=(http://xorg.freedesktop.org/releases/individual/lib/libXft-$version.tar.bz2)
15 export X11_LIBS="-L$CLFS/usr/lib -lX11"
16 export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
17 export XRENDER_LIBS="$X11_LIBS -lXrender"
18 export XRENDER_CFLAGS="$X11_CFLAGS"
19 export FREETYPE_LIBS="$X11_LIBS -lfreetype -lz"
20 export FREETYPE_CFLAGS="$X11_CFLAGS -I$CLFS/usr/include/freetype2"
21 export FONTCONFIG_LIBS="$X11_LIBS -lfontconfig"
22 export FONTCONFIG_CFLAGS="$X11_CFLAGS"
24 ./configure --build=$CHOST \
30 make DESTDIR=$PKG install