mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-18 01:30:07 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
72 lines
1.5 KiB
Bash
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
|
|
}
|