blob: 2d3a788eb8c8b7011548df5a117c054c5f5d326b (
plain)
1 # Description: Perl Library Net::DNS
2 # URL: ...
3 # Maintainer: James Mills, prologic at shortcircuit dot net dot au
4 # Packager: Han Boetes, han at mijncomputer dot nl
5 #
6 # Depends on: perl
7
8 name=p5-net-dns
9 capsname=Net-DNS
10 version=0.59
11 release=1
12 source=(http://search.cpan.org/CPAN/authors/id/O/OL/OLAF/Net-DNS-$version.tar.gz)
13
14 build() {
15 cd $capsname-$version
16 yes n|perl Makefile.PL
17 make OPTIMIZE="$CFLAGS"
18 make install DESTDIR=$PKG
19 # Remove perlcrap
20 find $PKG \
21 -name .packlist -or \
22 -name '*.bs' -or \
23 -name autosplit.ix -or \
24 -name perllocal.pod | xargs rm
25 # Remove empty directories
26 find $PKG -depth -empty -exec rm -rf {} \;
27 chown -R root:root $PKG
28 }
|