--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/dig
+-rwxr-xr-x root/root usr/bin/host
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/dig.1.gz
+-rw-r--r-- root/root usr/man/man1/host.1.gz
--- /dev/null
+# Description: Bind tools
+# URL: http://www.isc.org/software/bind
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: openssl
+
+name=bindutils
+version=9.7.1
+release=1
+source=(ftp://ftp.isc.org/isc/bind9/$version/bind-$version.tar.gz)
+
+build() {
+ cd bind-$version
+
+ BUILD_CC="$CC" ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --disable-linux-caps \
+ --with-libxml2=no \
+ --enable-epoll=no \
+ --with-randomdev=/dev/random
+
+ sed 's|${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include|gcc ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include|g' -i lib/dns/Makefile.in -i lib/dns/Makefile
+ sed 's|${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}|gcc ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS|g' -i lib/export/dns/Makefile.in -i lib/export/dns/Makefile
+
+ make -C lib
+ make -C bin/dig
+
+ install -D -m 755 bin/dig/host $PKG/usr/bin/host
+ install -D -m 644 bin/dig/host.1 $PKG/usr/man/man1/host.1
+ install -D -m 755 bin/dig/dig $PKG/usr/bin/dig
+ install -D -m 644 bin/dig/dig.1 $PKG/usr/man/man1/dig.1
+}