summaryrefslogtreecommitdiffstats
path: root/extra/p5-compress-raw-zlib/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/p5-compress-raw-zlib/Pkgfile')
-rw-r--r--extra/p5-compress-raw-zlib/Pkgfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/p5-compress-raw-zlib/Pkgfile b/extra/p5-compress-raw-zlib/Pkgfile
new file mode 100644
index 000000000..1e411ec46
--- /dev/null
+++ b/extra/p5-compress-raw-zlib/Pkgfile
@@ -0,0 +1,31 @@
+# Description: Module perl Compress Raw Zlib
+# URL: http://search.cpan.org/search?query=Compress-Raw-Zlib
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: perl
+
+name=p5-compress-raw-zlib
+version=2.020
+release=1
+
+source=(http://cpan.org/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
+
+ # Remove perlcrap
+ find $PKG \
+ \( -name '.packlist' -or \
+ -name '*.bs' -or \
+ -name 'autosplit.ix' -or \
+ -name 'perllocal.pod' \) -delete
+
+ # Remove empty directories
+ find $PKG -depth -empty -delete
+
+}
+