blob: 9d734db024d8e6429dafaffee849361522506816 (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-module-build
_pkgreal=Module-Build
pkgver=0.4214
pkgrel=0
pkgdesc="Build and install Perl modules"
url="http://search.cpan.org/dist/Module-Build/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
perl Build.PL installdirs=vendor || return 1
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build && ./Build test
}
package() {
cd "$_builddir"
./Build install destdir="$pkgdir" || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="7b7ca5a47bef48c50c8b5906ca3ac7fb Module-Build-0.4214.tar.gz"
sha256sums="c579488918cf4db84954a550c475272b3c25f5100c739339e91a65d7c055dc3f Module-Build-0.4214.tar.gz"
sha512sums="33bc4adfd21cfa3ff3489fd4ed2a6dfd9b4bd9bcdb7839a76088876fcf5bc9b435c2d246e9eee60a6ae3ac6c6d06a377d8dc0440ec725a4985a8dd1746c445b2 Module-Build-0.4214.tar.gz"
|