# Tanım: DNS programlamayı basitleştirmek amacıyla hızlı DNS kütüphanesi.
# URL: http://www.nlnetlabs.nl
# Paketçi: milisarge
# Gerekler: openssl ca-certificates libcap python swig doxygen 

isim=ldns
surum=1.6.17	
devir=1
kaynak=(http://www.nlnetlabs.nl/downloads/ldns/$isim-$surum.tar.gz)
 
derle() {

	cd $isim-$surum
	
	sed -i 's/defined(@$also)/@$also/' doc/doxyparse.pl 
	
	./configure --prefix=/usr     \
	            --sysconfdir=/etc \
	            --disable-static  \
	            --with-drill      
	make

	make doc
	
	make DESTDIR=$PKG install
	
	install -v -m755 -d $PKG/usr/share/doc/ldns-1.6.17 
	install -v -m644 doc/html/* $PKG/usr/share/doc/ldns-1.6.17

}
