blob: f2d806468d9e9e61da802283b90ea1d9246020f0 (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-extutils-libbuilder
_pkgreal=ExtUtils-LibBuilder
pkgver=0.08
pkgrel=0
pkgdesc="Perl module for ExtUtils-LibBuilder"
url="http://search.cpan.org/dist/ExtUtils-LibBuilder/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="perl-module-build"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends perl-test-pod perl-test-pod-coverage"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/A/AM/AMBS/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
cd "$builddir"
if [ -e Build.PL ]; then
perl Build.PL installdirs=vendor || return 1
else
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
fi
}
build() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build && perl ./Build test
}
package() {
cd "$builddir"
./Build install destdir="$pkgdir" || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="8ffe9e9a3c2f916f40dc4f6aed237d33 ExtUtils-LibBuilder-0.08.tar.gz"
sha256sums="c51171e06de53039f0bca1d97a6471ec37941ff59e8a3d1cb170ebdd2573b5d2 ExtUtils-LibBuilder-0.08.tar.gz"
sha512sums="c9cb95ff9ce3d30163e3e6e76adc03e164bddcef1fa58a068f6fc41e4be7289f06712457fba341244e6d37ec5976912920d44ac02ff6c9a2cde368b102e5133e ExtUtils-LibBuilder-0.08.tar.gz"
|