contrib/p5-compress-raw-zlib/Pkgfile

21 lines
627 B
Plaintext
Raw Normal View History

2008-04-12 20:31:48 +02:00
# Description: Low-Level Interface to zlib compression library
# URL: http://search.cpan.org/~pmqs/Compress-Raw-Zlib/
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
# Depends on:
name=p5-compress-raw-zlib
2008-05-11 21:20:05 +02:00
version=2.010
release=1
2008-04-12 20:31:48 +02:00
source=(http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/Compress-Raw-Zlib-$version.tar.gz)
build() {
cd Compress-Raw-Zlib-$version
perl Makefile.PL
make OPTIMIZE="$CFLAGS"
make DESTDIR=$PKG install
find $PKG -name .packlist -exec rm {} \;
find $PKG -name "*.bs" -exec rm {} \;
2008-04-12 20:31:48 +02:00
find $PKG -name perllocal.pod -exec rm {} \;
find $PKG -depth -type d -empty -exec rm -rf {} \;
}