diff options
author | Erich Eckner <git@eckner.net> | 2018-05-27 10:13:52 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-27 10:13:52 +0200 |
commit | 14a8f5d3c7889f2046a008b1b1dc29f485ebb359 (patch) | |
tree | 644ebb60f7155dd5c139d233857684fbcd8546e6 /portsToCome/perl-zip/Pkgfile | |
download | crux-ports-14a8f5d3c7889f2046a008b1b1dc29f485ebb359.tar.xz |
initial commit
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 + +} |