0
0
Fork 0
haikuports/net-dns/bind_utils/bind_utils-9.16.19.recipe

72 lines
1.5 KiB
Bash

SUMMARY="A collection of client side programs for DNS troubleshooting"
DESCRIPTION="bind_utils is a collection of DNS troubleshooting applications"
HOMEPAGE="https://isc.org"
COPYRIGHT="Internet Systems Consortium, Inc. ('ISC')"
LICENSE="MPL v2.0"
REVISION="1"
SOURCE_URI="ftp://ftp.isc.org/isc/bind9/$portVersion/bind-$portVersion.tar.xz"
CHECKSUM_SHA256="20bf727559302c933475904847041916bb6c279680c170babc01a76998e80ad3"
SOURCE_DIR="bind-$portVersion"
PATCHES="bind_utils-$portVersion.patchset"
ARCHITECTURES="?all !x86_gcc2"
PROVIDES="
bind_utils$secondaryArchSuffix = $portVersion
cmd:dig
cmd:host
cmd:nslookup
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libuv$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libuv$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:autom4te
cmd:automake
cmd:autoreconf
cmd:g++$secondaryArchSuffix
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:makeinfo
cmd:pkg_config
cmd:find
cmd:xargs
"
BUILD()
{
runConfigure ./configure --without-python
make -C lib/dns $jobArgs
make -C lib/isc $jobArgs
make -C lib/bind9 $jobArgs
make -C lib/isccfg $jobArgs
make -C lib/irs $jobArgs
make -C bin/dig $jobArgs
make -C doc $jobArgs
}
INSTALL()
{
mkdir -p $docDir
make -C bin/dig install
cp -v doc/man/{dig.1,host.1,nslookup.1} $docDir
}
TEST()
{
LIBS="-Wl,--as-needed -lbnetapi -lnetwork" make check
}