blob: e98a0653ffa0a4ddc370e56d7d31159a82679334 (
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-sub-exporter-progressive
_pkgreal=Sub-Exporter-Progressive
pkgver=0.001011
pkgrel=0
pkgdesc="Only use Sub::Exporter if you need it"
url="http://search.cpan.org/dist/Sub-Exporter-Progressive/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/F/FR/FREW/$_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="bb50b3ba1538902b197c04818a84230a Sub-Exporter-Progressive-0.001011.tar.gz"
sha256sums="0618c6e69c6c0540c41e7560d51981407a6a0768f1330bef6d6ac3c6f1fa7c06 Sub-Exporter-Progressive-0.001011.tar.gz"
sha512sums="897c93813aa0e0e5a7337eea861230a3180bdf9c7983f035c9afbee9d56992ab707456ee7ceb392b31d0fa9ef0138bcab36b3a4efcd03f98ccc022e799601daa Sub-Exporter-Progressive-0.001011.tar.gz"
|