# Description: Perl interface to allow reading and writing zip/gzip files/buffers
# URL: http://search.cpan.org/~pmqs/IO-Compress-Zlib/
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
# Depends on: p5-compress-raw-zlib p5-io-compress-base

name=p5-io-compress-zlib
version=2.015
release=1
source=(http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/IO-Compress-Zlib-$version.tar.gz)

build() {
	cd IO-Compress-Zlib-$version
	perl Makefile.PL
	make OPTIMIZE="$CFLAGS"
	make DESTDIR=$PKG install
	find $PKG -name .packlist -exec rm {} \;
	find $PKG -name perllocal.pod -exec rm {} \;
	find $PKG -depth -type d -empty -exec rm -rf {} \;
}
