### this file is sourced not run
PKGVER=1.6.17
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=ldns-1.6.17.tar.gz
MD5SUM=a79423bcc4129e6d59b616b1cae11e5e
SRC_URL=http://www.nlnetlabs.nl/downloads/ldns/$TARBALL
BUNDLE=

SLACKREQ='openssl' # 
SLACKDESC='ldns: ldns 1.6.17 (DNS tools and library)  
ldns:  
ldns: ldns is a lightweight DNS library supporting IPv4, IPv6, DNSSEC and TSIG 
ldns: for C. It also comes with a suite of useful tools, in particular, drill, 
ldns: which is an advanced nameserver query tool.  
ldns: 
ldns: 
ldns: 
ldns: 
ldns: 
ldns: http://www.nlnetlabs.nl/projects/ldns/ 
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static"
	pkg_build_autoconf &&
	
	# drill and examples
	for p in drill examples; do
		cd $p &&
		./configure $CONFFLAGS &&
		make $MAKEFLAGS && make install
		cd ..
	done &&
	pkg_build_slackdesc
}
