mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
Less indentation and newlines plus sub deparsing http://search.cpan.org/dist/Data-Dumper-Concise/
48 lines
1.3 KiB
Text
48 lines
1.3 KiB
Text
# Automatically generated by apkbuild-cpan, template 2
|
|
# Contributor: Timo Teräs <timo.teras@iki.fi>
|
|
# Maintainer: Timo Teräs <timo.teras@iki.fi>
|
|
pkgname=perl-data-dumper-concise
|
|
_pkgreal=Data-Dumper-Concise
|
|
pkgver=2.023
|
|
pkgrel=0
|
|
pkgdesc="Less indentation and newlines plus sub deparsing"
|
|
url="http://search.cpan.org/dist/Data-Dumper-Concise/"
|
|
arch="noarch"
|
|
license="GPL PerlArtistic"
|
|
cpandepends=""
|
|
cpanmakedepends=""
|
|
cpancheckdepends=""
|
|
depends="$cpandepends"
|
|
makedepends="perl-dev $cpanmakedepends"
|
|
checkdepends="$cpancheckdepends"
|
|
subpackages="$pkgname-doc"
|
|
source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare || return 1
|
|
|
|
cd "$builddir"
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
sha512sums="cc193bc60228dd3bb1c50d4545ee6a507d80ada27548303bb04fd720504746a2d5a4f32d7c33f52dfaf135a2456e019d794a7d693e2c56df9ea9d0ff385e8cd0 Data-Dumper-Concise-2.023.tar.gz"
|