blob: 19c9c6af419c64947b2957f6e8aa404a837e85fa (
plain)
1 # Description: Perl Library Net::IP
2 # UR:
3 # Maintainer: unmaintained
4 # Packager: Han Boetes, han at mijncomputer dot nl
5 #
6 # Depends on: perl
7
8 name=p5-net-ip
9 capsname=Net-IP
10 version=1.25
11 release=1
12 source=(http://search.cpan.org/CPAN/authors/id/M/MA/MANU/Net-IP-$version.tar.gz)
13
14 build() {
15 cd $capsname-$version
16 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 }
|