--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/X11/
+drwxr-xr-x root/root usr/include/X11/extensions/
+-rw-r--r-- root/root usr/include/X11/extensions/Xrender.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libXrender.a
+-rwxr-xr-x root/root usr/lib/libXrender.la
+lrwxrwxrwx root/root usr/lib/libXrender.so -> libXrender.so.1.3.0
+lrwxrwxrwx root/root usr/lib/libXrender.so.1 -> libXrender.so.1.3.0
+-rwxr-xr-x root/root usr/lib/libXrender.so.1.3.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/xrender.pc
--- /dev/null
+# Depends on: xorg-libx11, xorg-renderproto
+# Description: X Render extension 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-libx11 xorg-renderproto
+
+name=xorg-libxrender
+version=0.9.5
+release=1
+source=(http://xorg.freedesktop.org/releases/individual/lib/libXrender-$version.tar.bz2)
+
+build() {
+ cd libXrender-$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 RENDER_LIBS="$X11_LIBS"
+ export RENDER_CFLAGS="$X11_CFLAGS"
+
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --enable-malloc0returnsnull
+
+ make
+ make DESTDIR=$PKG install
+
+ rm -rf $PKG/usr/share
+}