blob: e7df7d5209d1e0877b4812adc4fca4ecf9a48a47 (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-config-autoconf
_pkgreal=Config-AutoConf
pkgver=0.313
pkgrel=0
pkgdesc="A module to implement some of AutoConf macros in pure perl."
url="http://search.cpan.org/dist/Config-AutoConf/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-capture-tiny"
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
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="0d4fc982740e0d96d01d6b74acecbbc5 Config-AutoConf-0.313.tar.gz"
sha256sums="3728867041d1bdbc00dffae5658b831e53f99068d3fbf0e8fb95b82a1953aeee Config-AutoConf-0.313.tar.gz"
sha512sums="6867c862b6a6ee534f7a693102e37ea86426b10f6fb58e1206a2de8abe0fbe88728faedb11aad7202f7614b3fc24b5faf21a768037c12aff671d7d97dfd0d8ef Config-AutoConf-0.313.tar.gz"
|