--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libXxf86misc.a
+-rwxr-xr-x root/root usr/lib/libXxf86misc.la
+lrwxrwxrwx root/root usr/lib/libXxf86misc.so -> libXxf86misc.so.1.1.0
+lrwxrwxrwx root/root usr/lib/libXxf86misc.so.1 -> libXxf86misc.so.1.1.0
+-rwxr-xr-x root/root usr/lib/libXxf86misc.so.1.1.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/xxf86misc.pc
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man3/
+-rw-r--r-- root/root usr/man/man3/XF86Misc.3.gz
+-rw-r--r-- root/root usr/man/man3/XF86MiscGetKbdSettings.3.gz
+-rw-r--r-- root/root usr/man/man3/XF86MiscGetMouseSettings.3.gz
+-rw-r--r-- root/root usr/man/man3/XF86MiscGetSaver.3.gz
+-rw-r--r-- root/root usr/man/man3/XF86MiscQueryExtension.3.gz
+-rw-r--r-- root/root usr/man/man3/XF86MiscQueryVersion.3.gz
+-rw-r--r-- root/root usr/man/man3/XF86MiscSetKbdSettings.3.gz
+-rw-r--r-- root/root usr/man/man3/XF86MiscSetMouseSettings.3.gz
+-rw-r--r-- root/root usr/man/man3/XF86MiscSetSaver.3.gz
--- /dev/null
+# Description: xorg lib libXxf86misc
+# 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-libxext xorg-xf86miscproto
+
+name=xorg-libxxf86misc
+version=1.0.2
+release=1
+source=(http://xorg.freedesktop.org/releases/individual/lib/libXxf86misc-$version.tar.bz2)
+
+build() {
+ cd libXxf86misc-$version
+
+ export X11_LIBS="-L$CLFS/usr/lib -lpthread-stubs -lX11 -lXext"
+ export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
+ export XXF86MISC_LIBS="$X11_LIBS"
+ export XXF86MISC_CFLAGS="$X11_CFLAGS"
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --mandir=/usr/man \
+ --enable-malloc0returnsnull
+
+ make
+ make DESTDIR=$PKG install
+}