--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/koi8rxterm
+-rwxr-xr-x root/root usr/bin/resize
+-rwxr-xr-x root/root usr/bin/uxterm
+-rwxr-xr-x root/root usr/bin/xterm
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/X11/
+drwxr-xr-x root/root usr/lib/X11/app-defaults/
+-rw-r--r-- root/root usr/lib/X11/app-defaults/KOI8RXTerm
+-rw-r--r-- root/root usr/lib/X11/app-defaults/UXTerm
+-rw-r--r-- root/root usr/lib/X11/app-defaults/XTerm
+-rw-r--r-- root/root usr/lib/X11/app-defaults/XTerm-color
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/koi8rxterm.1.gz
+-rw-r--r-- root/root usr/man/man1/resize.1.gz
+-rw-r--r-- root/root usr/man/man1/uxterm.1.gz
+-rw-r--r-- root/root usr/man/man1/xterm.1.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/pixmaps/
+-rw-r--r-- root/root usr/share/pixmaps/xterm-color_32x32.xpm
+-rw-r--r-- root/root usr/share/pixmaps/xterm-color_48x48.xpm
+-rw-r--r-- root/root usr/share/pixmaps/xterm_32x32.xpm
+-rw-r--r-- root/root usr/share/pixmaps/xterm_48x48.xpm
--- /dev/null
+# Description: The standard termulator.
+# URL: http://dickey.his.com/xterm/xterm.html
+# Packager: Han Boetes, han at mijncomputer dot nl
+# Maintainer: Jose V Beneyto, sepen at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: xorg-libxaw xorg-font-alias xorg-font-misc-misc
+
+name=xterm
+version=254
+release=1
+source=(ftp://invisible-island.net/$name/$name-$version.tgz \
+ configure.diff)
+
+build() {
+ cd $name-$version
+ [ -z "$BASH_VERSION" ] && patch -p0 -i $SRC/configure.diff
+
+ export CFLAGS="$CFLAGS -I$CLFS/usr/include"
+ export LIBS="-lXft"
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --disable-nls \
+ --enable-256-color \
+ --enable-wide-chars
+
+ sed -i Makefile -e "s|-I/usr/include|-I$CLFS/usr/include|g"
+
+ make
+ make install DESTDIR=$PKG
+ chmod 0755 $PKG/usr/bin/$name
+}
--- /dev/null
+Fix a stupid bashism
+--- configure.orig 2006-05-02 02:01:12.637169936 +0200
++++ configure 2006-05-02 02:01:30.861399432 +0200
+@@ -5217,7 +5217,7 @@ if test "${with_app_defaults+set}" = set
+ withval="$with_app_defaults"
+
+ else
+- withval="${appsdir-'\$(exec_prefix)/lib/X11/app-defaults'}"
++ withval="${appsdir-'\$\(exec_prefix\)/lib/X11/app-defaults'}"
+ fi;
+ case ".$withval" in #(vi
+ .\$\(*\)*|.\'*\'*) #(vi