mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:57:14 +08:00
46 lines
1.0 KiB
Bash
46 lines
1.0 KiB
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: inkane@chakra-project.org
|
|
# contributor: abveritas@chakra-project.org
|
|
|
|
pkgname=dnsutils
|
|
# _pkver when P version used.
|
|
pkgver=9.9.3.1
|
|
_pkgver=9.9.3-P1
|
|
pkgrel=1
|
|
pkgdesc="Various DNS utilities - dig host nslookup nsupdate"
|
|
arch=('x86_64')
|
|
url="https://www.isc.org/software/bind"
|
|
license=('custom:ISC')
|
|
depends=('openssl')
|
|
options=('makeflags')
|
|
source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"
|
|
'tools-only.patch')
|
|
md5sums=('cf9cd9238d7bc15f1b4a5a5fff90f0d4'
|
|
'49510087bdb52945242a1a1ba9408112')
|
|
|
|
build() {
|
|
cd "${srcdir}/bind-${_pkgver}"
|
|
|
|
patch -p1 -i "${srcdir}/tools-only.patch"
|
|
export STD_CDEFINES='-DDIG_SIGCHASE'
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--disable-static \
|
|
--disable-linux-caps \
|
|
--with-openssl
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/bind-${_pkgver}"
|
|
|
|
install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
cd bin; make DESTDIR="${pkgdir}" install
|
|
}
|