blob: eead844c4bccbcfe9942710ca62ffe33f9279b4d (
plain)
1 # Description: Perl Library Net::DNS
2 # URL: http://www.net-dns.org/
3 # Maintainer: Thomas Penteker, tek at serverop dot de
4 # Packager: Han Boetes, han at mijncomputer dot nl
5 # Depends on: perl
6
7 name=p5-net-dns
8 capsname=Net-DNS
9 version=1.18
10 release=1
11 source=(http://www.net-dns.org/download/Net-DNS-$version.tar.gz)
12
13 build() {
14 cd $capsname-$version
15 yes n|perl Makefile.PL
16 make OPTIMIZE="$CFLAGS"
17 make install DESTDIR=$PKG
18 # Remove perlcrap
19 find $PKG \
20 -name .packlist -or \
21 -name '*.bs' -or \
22 -name autosplit.ix -or \
23 -name perllocal.pod | xargs rm
24 # Remove empty directories
25 find $PKG -depth -empty -exec rm -rf {} \;
26 }
|