mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-13 08:04:27 +02:00
41 lines
1.2 KiB
Text
41 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
pkgname=perl-compress-raw-bzip2
|
|
pkgver=2.213
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Compress-Raw-Bzip2
|
|
pkgdesc="Perl low-level interface to bzip2 compression library"
|
|
url="https://metacpan.org/release/Compress-Raw-Bzip2/"
|
|
arch="all"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl"
|
|
makedepends="bzip2-dev perl-dev"
|
|
source="https://cpan.metacpan.org/authors/id/P/PM/PMQS/Compress-Raw-Bzip2-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 BUILD_BZIP2=0 perl -I. Makefile.PL \
|
|
INSTALLDIRS=vendor \
|
|
NO_PACKLIST=1 \
|
|
NO_PERLLOCAL=1
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
# remove man pages already provided by perl-doc
|
|
rm -rf "$pkgdir"/usr/share/man
|
|
}
|
|
|
|
sha512sums="
|
|
c6f0af5e7db5ed75d6662365d72b9bc7e48c097cd98fdc3cacc98013bbe3fffeca2c1d5e8a39e2d8c99806068ffdee44e9910013dea422863cbe43c2c9cf2e2b Compress-Raw-Bzip2-2.213.tar.gz
|
|
"
|