aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-compress-raw-zlib/APKBUILD
blob: c15bc3ff582a128cc252dc221ec22ec89a7eb9a7 (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.065
pkgrel=0
pkgdesc="Perl low-level interface to zlib compression library"
url="http://search.cpan.org/dist/Compress-Raw-Zlib/"
arch="all"
license="GPL PerlArtistic"
depends="perl"
makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/${_realname}-${pkgver}.tar.gz"

_builddir="$srcdir/$_realname-$pkgver"

build() {
	cd $_builddir
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	#PERL_MM_USE_DEFAULT=1 perl Makefile.PL || return 1
	make || return 1
}

package() {
	cd $_builddir
	make DESTDIR="$pkgdir" install
	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

md5sums="b9588cabfb3c3ab35a7f5284f47b80ee  Compress-Raw-Zlib-2.065.tar.gz"
sha256sums="37b819fcd320f268d96c37ea75193f167e9e42c3025b4183543722bbdb8009c4  Compress-Raw-Zlib-2.065.tar.gz"
sha512sums="4a46564269fe9862f8ad1b843f5bc8bc2838742d2d8c4b5a7f99d1dad23fe537f6cc3e9c926ddd05758f2c2ef338de4a8e2d88da1c858085959b6b8c1ff433f4  Compress-Raw-Zlib-2.065.tar.gz"