1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/testing/perl-data-dump-streamer/APKBUILD
2025-04-26 04:57:58 +00:00

36 lines
1.1 KiB
Text

# Contributor: Wen Heping <wenheping2000@hotmail.com>
# Maintainer: Wen Heping <wenheping2000@hotmail.com>
pkgname=perl-data-dump-streamer
pkgver=2.42
pkgrel=0
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Data-Dump-Streamer
pkgdesc="Accurately serialize a data structure as Perl code"
url="https://metacpan.org/release/Data-Dump-Streamer/"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-b-utils"
makedepends="perl-dev perl-extutils-depends perl-module-build perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/Y/YV/YVES/Data-Dump-Streamer-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL \
--installdirs=vendor \
--create_packlist=0
./Build
}
check() {
./Build test
}
package() {
./Build install --destdir="$pkgdir"
}
sha512sums="
481cc12f8111d83bc97695226531c7eb4ebdbb16ac540de90d8a0c8b1f30cd3dbc62f5def737b9eb08e6c1294fb290d9f347dd90869a7a7278d71ce436787f7d Data-Dump-Streamer-2.42.tar.gz
"