blob: eb05757328344010b2cb044facbaf11ebda37125 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-io-gzip
pkgver=0.20
pkgrel=1
pkgdesc="Perl extension to provide a PerlIO layer to gzip/gunzip"
url="http://search.cpan.org/dist/PerlIO-gzip/"
arch="all"
license="GPL"
depends_dev="perl-dev zlib-dev"
makedepends="$depends_dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/N/NW/NWCLARK/PerlIO-gzip-$pkgver.tar.gz"
builddir="$srcdir/PerlIO-gzip-$pkgver"
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="b24e8fa99cbcbaf07feabfc09cefc55a10c1dce59b495b59343ff5217536f7108c92f462751e70242e6567be32e69a0cc88a2e66325e926174a64042d4b87966 PerlIO-gzip-0.20.tar.gz"
|