--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/X11/
+-rw-r--r-- root/root usr/include/X11/Xdmcp.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libXdmcp.a
+-rwxr-xr-x root/root usr/lib/libXdmcp.la
+lrwxrwxrwx root/root usr/lib/libXdmcp.so -> libXdmcp.so.6.0.0
+lrwxrwxrwx root/root usr/lib/libXdmcp.so.6 -> libXdmcp.so.6.0.0
+-rwxr-xr-x root/root usr/lib/libXdmcp.so.6.0.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/xdmcp.pc
--- /dev/null
+# Description: xorg lib libXdmcp
+# 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-xproto
+
+name=xorg-libxdmcp
+version=1.0.3
+release=1
+source=(http://xorg.freedesktop.org/releases/individual/lib/libXdmcp-$version.tar.bz2)
+
+build() {
+ cd libXdmcp-$version
+
+ export X11_LIBS="-L$CLFS/usr/lib"
+ export X11_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
+ export XPROTO_LIBS="$X11_LIBS"
+ export XPROTO_CFLAGS="$X11_CFLAGS"
+ export XDMCP_LIBS="$X11_LIBS"
+ export XDMCP_CFLAGS="$X11_CFLAGS"
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr
+
+ make
+ make DESTDIR=$PKG install
+}