--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/db_archive
+-rwxr-xr-x root/root usr/bin/db_checkpoint
+-rwxr-xr-x root/root usr/bin/db_deadlock
+-rwxr-xr-x root/root usr/bin/db_dump
+-rwxr-xr-x root/root usr/bin/db_hotbackup
+-rwxr-xr-x root/root usr/bin/db_load
+-rwxr-xr-x root/root usr/bin/db_log_verify
+-rwxr-xr-x root/root usr/bin/db_printlog
+-rwxr-xr-x root/root usr/bin/db_recover
+-rwxr-xr-x root/root usr/bin/db_replicate
+-rwxr-xr-x root/root usr/bin/db_stat
+-rwxr-xr-x root/root usr/bin/db_tuner
+-rwxr-xr-x root/root usr/bin/db_upgrade
+-rwxr-xr-x root/root usr/bin/db_verify
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/db.h
+-rw-r--r-- root/root usr/include/db_185.h
+-rw-r--r-- root/root usr/include/db_cxx.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libdb-5.3.a
+-rw-r--r-- root/root usr/lib/libdb-5.3.la
+-rwxr-xr-x root/root usr/lib/libdb-5.3.so
+lrwxrwxrwx root/root usr/lib/libdb-5.so -> libdb-5.3.so
+-rw-r--r-- root/root usr/lib/libdb.a
+lrwxrwxrwx root/root usr/lib/libdb.so -> libdb-5.3.so
+-rw-r--r-- root/root usr/lib/libdb_cxx-5.3.a
+-rw-r--r-- root/root usr/lib/libdb_cxx-5.3.la
+-rwxr-xr-x root/root usr/lib/libdb_cxx-5.3.so
+lrwxrwxrwx root/root usr/lib/libdb_cxx-5.so -> libdb_cxx-5.3.so
+-rw-r--r-- root/root usr/lib/libdb_cxx.a
+lrwxrwxrwx root/root usr/lib/libdb_cxx.so -> libdb_cxx-5.3.so
--- /dev/null
+# Description: Berkeley DB
+# URL: http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+
+name=db
+version=5.3.28
+release=1
+source=(http://download.oracle.com/berkeley-db/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version/build_unix
+ ../dist/configure --prefix=/usr \
+ --build=arm-unknown-linux-gnueabi \
+ --enable-compat185 \
+ --enable-shared \
+ --enable-static \
+ --enable-cxx
+ make
+ make DESTDIR=$PKG install
+ rm -r $PKG/usr/docs
+ chmod -R +w $PKG
+}