blob: 27c6d6d9459eca074c6f5f21ac82944776f02491 (
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-test-without-module
_pkgreal=Test-Without-Module
pkgver=0.17
pkgrel=0
pkgdesc="Test fallback behaviour in absence of modules"
url="http://search.cpan.org/dist/Test-Without-Module/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev perl-test-pod perl-file-slurp $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/C/CO/CORION/$_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="4480ece707cb6bbedaae8fbe41320927 Test-Without-Module-0.17.tar.gz"
sha256sums="a691b0bf6d92dedbacfd547551021389ebc79c51937de2b914e792457da56ff7 Test-Without-Module-0.17.tar.gz"
sha512sums="66d0a164c72ce70cf996e8700c54e442613a18113bd87210b344a38778704b665c9efffd321616993eabac77ee13496e5bd2145c41cf1cb5b134e72252632526 Test-Without-Module-0.17.tar.gz"
|