blob: 8d96d48b49fb607609c56210d868f65cec588825 (
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
35
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-compress-raw-zlib
_realname=Compress-Raw-Zlib
pkgver=2.093
pkgrel=0
pkgdesc="Perl low-level interface to zlib compression library"
url="https://metacpan.org/release/Compress-Raw-Zlib"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
source="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
# man pages are already provided by perl-doc
rm -rf "$pkgdir"/usr/share/man
}
sha512sums="451f844da7758390c030739c2869609d58398a799c27fc0ae1164de60a487c53d53513bfa7db25736dc13f48546131eed7bbf1f09d3414c212f5f33b46c7a9b2 Compress-Raw-Zlib-2.093.tar.gz"
|