From 14a8f5d3c7889f2046a008b1b1dc29f485ebb359 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 27 May 2018 10:13:52 +0200 Subject: initial commit --- portsToCome/perl-zip/Pkgfile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 portsToCome/perl-zip/Pkgfile (limited to 'portsToCome/perl-zip/Pkgfile') 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 + +} -- cgit v1.2.3-70-g09d2