diff options
Diffstat (limited to 'portsToCome/perl-zip/Pkgfile')
-rw-r--r-- | portsToCome/perl-zip/Pkgfile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/portsToCome/perl-zip/Pkgfile b/portsToCome/perl-zip/Pkgfile new file mode 100644 index 0000000..dd28f34 --- /dev/null +++ b/portsToCome/perl-zip/Pkgfile @@ -0,0 +1,27 @@ +# Description: Perl module Archive::Zip +# URL: http://search.cpan.org/dist/Net-HTTP +# Maintainer: Erich Eckner, crux at eckner dot net +# +# Depends on: perl + +name=perl-zip +version=1.53 +release=1 +source=(http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/Archive-Zip-$version.tar.gz) + +build() { + cd Archive-Zip-$version + + perl Makefile.PL + make CC="${CC:-gcc}" LD="${CC:-gcc}" OPTIMIZE="$CFLAGS" + make DESTDIR=$PKG install + + find $PKG -type f \( \ + -name ".packlist" -o \ + -name "*.bs" -o \ + -name "autosplit.ix" -o \ + -name "perllocal.pod" \) -delete + + find $PKG -depth -empty -delete + +} |