1 # Description: Bind tools
2 # URL: http://www.isc.org/software/bind
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
10 source=(ftp://ftp.isc.org/isc/bind9/$version/bind-$version.tar.gz)
15 BUILD_CC="$CC" ./configure --build=$CHOST \
18 --disable-linux-caps \
21 --with-randomdev=/dev/random
23 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
24 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
29 install -D -m 755 bin/dig/host $PKG/usr/bin/host
30 install -D -m 644 bin/dig/host.1 $PKG/usr/man/man1/host.1
31 install -D -m 755 bin/dig/dig $PKG/usr/bin/dig
32 install -D -m 644 bin/dig/dig.1 $PKG/usr/man/man1/dig.1