--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/mkfontscale
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/mkfontscale.1.gz
--- /dev/null
+# Description: Create an index of scalable X font files
+# URL: http://xorg.freedesktop.org
+# Maintainer: Tilman Sauerbeck tilman at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team crux-arm at mikeux dot dyndns dot org
+# Depends on: xorg-libx11 xorg-libfontenc freetype
+
+name=xorg-mkfontscale
+version=1.0.7
+release=1
+source=(http://xorg.freedesktop.org/releases/individual/app/mkfontscale-$version.tar.bz2)
+
+build() {
+ cd mkfontscale-$version
+
+ export DEFAULT_LIBS="-L$CLFS/usr/lib"
+ export DEFAULT_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
+ export MKFONTSCALE_LIBS="$DEFAULT_LIBS -lfontenc -lfreetype"
+ export MKFONTSCALE_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/freetype2"
+ export X11_LIBS="$DEFAULT_LIBS -lX11"
+ export X11_CFLAGS="$DEFAULT_CFLAGS"
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --mandir=/usr/man
+
+ make
+ make DESTDIR=$PKG install
+}