blob: e364258b28c8012561275119a6da92904958e0f8 (
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
36
37
38
39
40
41
42
43
44
45
46
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-log-dispatch-configurator-any
_pkgreal=Log-Dispatch-Configurator-Any
pkgver=1.122640
pkgrel=2
pkgdesc="Configurator implementation with Config::Any"
url="https://metacpan.org/release/Log-Dispatch-Configurator-Any/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-log-dispatch perl-config-any perl-log-dispatch-config
perl-test-pod-coverage perl-config-tiny perl-module-pluggable"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
checkdepends="perl-namespace-autoclean perl-specio perl-params-validationcompiler"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/O/OL/OLIVER/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
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"
make test
}
sha512sums="9cf9e1583f9c28c6b1320281c0607912b814339bee27a8da3ede8e1edd44ce589ea8ff6a70adc3c4f620075f3966d5563eababecfde720a50ab07eda3a14a07c Log-Dispatch-Configurator-Any-1.122640.tar.gz"
|