blob: 0adc88af71048fa502d626b6d1b9d0c644de82b7 (
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: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-extutils-installpaths
_pkgreal=ExtUtils-InstallPaths
pkgver=0.011
pkgrel=0
pkgdesc="Build.PL install path logic made easy"
url="http://search.cpan.org/dist/ExtUtils-InstallPaths/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-extutils-config"
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_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="9c75894c3c8c899ab6bfafc5eaa97999 ExtUtils-InstallPaths-0.011.tar.gz"
sha256sums="7609fa048cdcf1451cad5b1d7d494f30e3d5bad0672d15404f1ea60e1df0067c ExtUtils-InstallPaths-0.011.tar.gz"
sha512sums="c31bfce1ba1094f1408409d9a50406d7eb974ce43195e968fae51493a7fd3c7112d41af561435233b14d2396df297604ec0c264bab910566c046f9f7b5b3beb7 ExtUtils-InstallPaths-0.011.tar.gz"
|