--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/portdbc
--- /dev/null
+# Description: CRUX's portdb command line client
+# URL: NA
+# Maintainer: Jose V Beneyto, sepen at crux dot nu
+# Packager: Jose V Beneyto, sepen at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: curl libxml2
+
+name=portdbc
+version=1.0
+release=1
+source=(http://sepen.mine.nu/releases/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+ install -d $PKG/usr/bin
+ $CC -I$CLFS/usr/include -I$CLFS/usr/include/libxml2 -L$CLFS/usr/lib -lcurl -lxml2 -lz -lm -o $PKG/usr/bin/$name $name.c
+}