aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-io-gzip/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-io-gzip/APKBUILD')
-rw-r--r--testing/perl-io-gzip/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/perl-io-gzip/APKBUILD b/testing/perl-io-gzip/APKBUILD
new file mode 100644
index 0000000000..83f5d49888
--- /dev/null
+++ b/testing/perl-io-gzip/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=perl-io-gzip
+pkgver=0.18
+pkgrel=0
+pkgdesc="Perl extension to provide a PerlIO layer to gzip/gunzip"
+url="http://search.cpan.org/~nwclark/PerlIO-gzip/"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="perl-dev zlib-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/N/NW/NWCLARK/PerlIO-gzip-$pkgver.tar.gz"
+
+_builddir="$srcdir"/PerlIO-gzip-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="933fdf283a0d2739f7630420569e3b24 PerlIO-gzip-0.18.tar.gz"
+sha256sums="67b20e7e4dcc4230a44500dbbc63c6a267b09fdf4d4465275cc98a3f9f31bcf3 PerlIO-gzip-0.18.tar.gz"
+sha512sums="b2f8cc1f00654ae40625cb8dfd1d529c48fad1578290a307a1dd51b4b57737d6476bdf7a122501984d047b3d01f5f0d49ab3bdd6f2e45f8435fce86eae0aa8f8 PerlIO-gzip-0.18.tar.gz"