core/dnsutils/PKGBUILD

38 lines
804 B
Bash
Raw Normal View History

2011-05-18 04:49:14 +08:00
2010-03-13 23:25:19 +08:00
pkgname=dnsutils
# _pkver when P version used.
2017-01-19 06:51:35 +08:00
pkgver=9.11.1
_pkgver=9.11.1b1
pkgrel=1
2010-03-13 23:25:19 +08:00
pkgdesc="Various DNS utilities - dig host nslookup nsupdate"
arch=('x86_64')
2010-03-13 23:25:19 +08:00
url="https://www.isc.org/software/bind"
license=('custom:ISC')
2017-01-19 06:51:35 +08:00
depends=('openssl' 'readline')
2010-03-13 23:25:19 +08:00
options=('makeflags')
2017-01-19 06:51:35 +08:00
source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz")
md5sums=('08638a21adb963a60dd2bfe7e642fa96')
2010-03-13 23:25:19 +08:00
build() {
cd "${srcdir}/bind-${_pkgver}"
export STD_CDEFINES='-DDIG_SIGCHASE'
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--disable-linux-caps \
--with-openssl
make
2010-04-04 22:20:41 +08:00
}
package() {
cd "${srcdir}/bind-${_pkgver}"
install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cd bin; make DESTDIR="${pkgdir}" install
2010-03-13 23:25:19 +08:00
}