blob: 3bae41fa11f981f5acce76a59bb1f6df9304bcdb (
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-capture-tiny
_pkgreal=Capture-Tiny
pkgver=0.24
pkgrel=0
pkgdesc="Capture STDOUT and STDERR from Perl, XS or external programs"
url="http://search.cpan.org/dist/Capture-Tiny/"
arch="noarch"
license="apache_2_0"
cpandepends=""
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_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="718e9d62c4a27a3207cf8506cb99d846 Capture-Tiny-0.24.tar.gz"
sha256sums="9bcf6f8472f8ea50401536cb070ac0c7770837d155c4d6abe212759863aae065 Capture-Tiny-0.24.tar.gz"
sha512sums="8df98fb84d877fed984e1e8fb89c71d2e94baa99eb0d5323f9e413d361a87072b417ce65b00444b5e543ccda05d88753334537534747381a59e5b75eef04eae7 Capture-Tiny-0.24.tar.gz"
|