# 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 }