--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/xft-config
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/X11/
+drwxr-xr-x root/root usr/include/X11/Xft/
+-rw-r--r-- root/root usr/include/X11/Xft/Xft.h
+-rw-r--r-- root/root usr/include/X11/Xft/XftCompat.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libXft.a
+-rwxr-xr-x root/root usr/lib/libXft.la
+lrwxrwxrwx root/root usr/lib/libXft.so -> libXft.so.2.1.13
+lrwxrwxrwx root/root usr/lib/libXft.so.2 -> libXft.so.2.1.13
+-rwxr-xr-x root/root usr/lib/libXft.so.2.1.13
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/xft.pc
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/xft-config.1.gz
+drwxr-xr-x root/root usr/man/man3/
+-rw-r--r-- root/root usr/man/man3/Xft.3.gz
--- /dev/null
+# Depends on: xorg-libxrender, freetype, fontconfig
+# Description: X font rendering client library
+# URL: http://xorg.freedesktop.org
+# Maintainer: Tilman Sauerbeck tilman at crux dot nu
+# Arch Maintainer System Team crux-arm at mikeux dot dyndns dot org
+# Depends on: xorg-libxrender freetype fontconfig
+
+name=xorg-libxft
+version=2.1.14
+release=1
+source=(http://xorg.freedesktop.org/releases/individual/lib/libXft-$version.tar.bz2)
+
+build() {
+ cd libXft-$version
+
+ export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs"
+ export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
+ export XRENDER_LIBS="$X11_LIBS"
+ export XRENDER_CFLAGS="$X11_CFLAGS"
+ export FREETYPE_LIBS="$X11_LIBS -lfreetype -lz"
+ export FREETYPE_CFLAGS="$X11_CFLAGS -I$CLFS/usr/include/freetype2"
+ export FONTCONFIG_LIBS="$X11_LIBS -lfontconfig"
+ export FONTCONFIG_CFLAGS="$X11_CFLAGS"
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --mandir=/usr/man
+
+ make
+ make DESTDIR=$PKG install
+}