--- /dev/null
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/cron/
+drwxr-xr-x root/root etc/cron/daily/
+-rwxr-xr-x root/root etc/cron/daily/mandb
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+lrwxrwxrwx root/root usr/bin/apropos -> whatis
+-rwxr-xr-x root/root usr/bin/catman
+-rwxr-xr-x root/root usr/bin/lexgrog
+-rwxr-xr-x root/root usr/bin/man
+-rwxr-xr-x root/root usr/bin/mandb
+-rwxr-xr-x root/root usr/bin/manpath
+-rwxr-xr-x root/root usr/bin/whatis
+drwxr-xr-x root/root usr/etc/
+-rw-r--r-- root/root usr/etc/man_db.conf
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/man-db/
+-rwxr-xr-x root/root usr/lib/man-db/libman-2.6.7.so
+-rwxr-xr-x root/root usr/lib/man-db/libman.la
+lrwxrwxrwx root/root usr/lib/man-db/libman.so -> libman-2.6.7.so
+-rwxr-xr-x root/root usr/lib/man-db/libmandb-2.6.7.so
+-rwxr-xr-x root/root usr/lib/man-db/libmandb.la
+lrwxrwxrwx root/root usr/lib/man-db/libmandb.so -> libmandb-2.6.7.so
+drwxr-xr-x root/root usr/lib/man-db/man-db/
+-rwxr-xr-x root/root usr/lib/man-db/man-db/globbing
+-rwxr-xr-x root/root usr/lib/man-db/man-db/manconv
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/apropos.1.gz
+-rw-r--r-- root/root usr/man/man1/lexgrog.1.gz
+-rw-r--r-- root/root usr/man/man1/man.1.gz
+-rw-r--r-- root/root usr/man/man1/manconv.1.gz
+-rw-r--r-- root/root usr/man/man1/manpath.1.gz
+-rw-r--r-- root/root usr/man/man1/whatis.1.gz
+drwxr-xr-x root/root usr/man/man5/
+-rw-r--r-- root/root usr/man/man5/manpath.5.gz
+drwxr-xr-x root/root usr/man/man8/
+-rw-r--r-- root/root usr/man/man8/accessdb.8.gz
+-rw-r--r-- root/root usr/man/man8/catman.8.gz
+-rw-r--r-- root/root usr/man/man8/mandb.8.gz
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/accessdb
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/cache/
+drwxr-xr-x root/root var/cache/man/
--- /dev/null
+# Description: An implementation of the standard Unix documentation system accessed using the man command
+# URL: http://man-db.nongnu.org/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: libpipeline
+
+name=man-db
+version=2.6.7
+release=1
+source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz \
+ mandb.cron)
+
+build() {
+ cd $name-$version
+
+ export libpipeline_CFLAGS="$CFLAGSi -I$CLFS/usr/include"
+ export libpipeline_LIBS="$LIBS -L$CLFS/urs/lib -lpipeline"
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --mandir=/usr/man \
+ --libexecdir=/usr/lib/$name \
+ --disable-setuid \
+ --disable-nls
+
+ make
+ make DESTDIR=$PKG install
+ rm -r $PKG/usr/share
+
+ # zsoelim conflicts with groff
+ rm $PKG/usr/bin/zsoelim \
+ $PKG/usr/man/man1/zsoelim.1
+
+ mkdir -p $PKG/var/cache/man
+
+ install -D -o root -g root -m 0755 $SRC/mandb.cron \
+ $PKG/etc/cron/daily/mandb
+}