blob: 25a6b1dbf3139ceb2b769c99cc8d7dc4d455d161 (
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 <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-test-simple
_pkgreal=Test-Simple
pkgver=1.302056
pkgrel=0
pkgdesc="Basic utilities for writing tests."
url="http://search.cpan.org/dist/Test-Simple/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/$_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="4a1c0edd6093574f01fde60198eaff1f Test-Simple-1.302056.tar.gz"
sha256sums="7ba4d821545051f3bc2a6a3308cc43a45f242eec0121a6c85394601785f2e2e8 Test-Simple-1.302056.tar.gz"
sha512sums="e6b88a896bf38c64d588926ba0d50dcb147aa0ac71f22cd76934651f34d9b112f658715bdb04e4d916cff1e2467f9c76fee4b57d7e462d84b6da8905e027a1d4 Test-Simple-1.302056.tar.gz"
|