CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkg-config: updated to 0.29.2
[crossrootfs.git] / bindutils / Pkgfile
CommitLineData
d8f5dd25
VM
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
5# Depends on: openssl
6
7name=bindutils
9c8ad131 8version=9.11.3
cb1b1ef5 9release=1
d8f5dd25
VM
10source=(ftp://ftp.isc.org/isc/bind9/$version/bind-$version.tar.gz)
11
12build() {
13 cd bind-$version
14
15 BUILD_CC="$CC" ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --disable-linux-caps \
19 --with-libxml2=no \
20 --enable-epoll=no \
4ea2a5a4 21 --with-randomdev=/dev/random \
ae35022a
VM
22 --with-gost=yes \
23 --without-openssl
d8f5dd25
VM
24
25 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
d8f5dd25
VM
26
27 make -C lib
28 make -C bin/dig
29
30 install -D -m 755 bin/dig/host $PKG/usr/bin/host
b39a096e 31 install -D -m 644 bin/dig/host.1 $PKG/usr/share/man/man1/host.1
d8f5dd25 32 install -D -m 755 bin/dig/dig $PKG/usr/bin/dig
b39a096e 33 install -D -m 644 bin/dig/dig.1 $PKG/usr/share/man/man1/dig.1
d8f5dd25 34}