blob: 132c3ebe389811056cb5048f9e8a581f1468db9b (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-config-any
_pkgreal=Config-Any
pkgver=0.27
pkgrel=0
pkgdesc="Load configuration from different file formats, transparently"
url="http://search.cpan.org/dist/Config-Any/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="perl-module-pluggable perl-test-pod-coverage perl-test-pod perl-yaml"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
make && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="0c8db36ebfeea250f554ebc50ee5b643 Config-Any-0.27.tar.gz"
sha256sums="836f6dfff4a7ca2b05cf72e81848f9904ef2b61690f382a76819dc4853289cde Config-Any-0.27.tar.gz"
sha512sums="3987ab9521e5dc00f12b20f2cf3fb3ddb2fe1275903009064c6d5a29b1e5acfedde1238b9a60f0266a38c70a010fe26b4d29e4e8bccd11a01a19f28fa63625d2 Config-Any-0.27.tar.gz"
|