smlinux/net/bindutils/smbuild

40 lines
914 B
Bash

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=bindutils
version=9.16.2
build=1sml
homepage="https://www.isc.org/bind/"
download="https://ftp.isc.org/isc/bind9/$version/bind-$version.tar.xz"
desc="domain utility collection packaged separately from BIND source"
requires="libxml2 openssl libuv libcap"
prepbuilddir() {
mkandenterbuilddir
rm -rf bind-$version
tar xf $srcdir/bind-$version.tar.?z
cd bind-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--without-readline \
--without-libjson \
--without-python
for i in dns isc bind9 isccfg irs ; do
make -C lib/$i
done
make -C bin/dig install DESTDIR="$pkg"
cp COPYRIGHT LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
486aa4fd204fa4dcf48fa190a04fc15df84cb8b85397d58bdb96d86389eb1dde44fb76153b42a1ac2d47d5a3f19eda540c74198d0691a7bef8fda9878fdf4926 bind-9.16.2.tar.lz
"