summaryrefslogtreecommitdiffstats
path: root/extra/p5-compress-raw-zlib/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 22:30:33 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 22:30:33 +0200
commit4c44122104a79fa67c0392f4c80b4c84f462be62 (patch)
tree28396ab849e23a80395de28db63d50992e928086 /extra/p5-compress-raw-zlib/Pkgfile
parentd570a7630026c7ae451a42e7c6e2508232785cad (diff)
downloadnutyx-extra-4c44122104a79fa67c0392f4c80b4c84f462be62.tar.gz
nutyx-extra-4c44122104a79fa67c0392f4c80b4c84f462be62.tar.bz2
nutyx-extra-4c44122104a79fa67c0392f4c80b4c84f462be62.tar.xz
nutyx-extra-4c44122104a79fa67c0392f4c80b4c84f462be62.zip
Ajout de p5-compress-raw-zlib#2.020-1
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
+
+}
+