# Automatically generated by apkbuild-cpan, template 1 # Contributor: Francesco Colista # Maintainer: Francesco Colista setvar pkgname = 'perl-capture-tiny' setvar _pkgreal = 'Capture-Tiny' setvar pkgver = '0.46' setvar pkgrel = '0' setvar pkgdesc = ""Capture STDOUT and STDERR from Perl, XS or external programs"" setvar url = ""http://search.cpan.org/dist/Capture-Tiny/"" setvar arch = ""noarch"" setvar license = ""apache_2_0"" setvar cpandepends = """" setvar cpanmakedepends = "" "" setvar depends = "$cpandepends" setvar makedepends = ""perl-dev $cpanmakedepends"" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_pkgreal-$pkgver.tar.gz"" setvar _builddir = ""$srcdir/$_pkgreal-$pkgver"" proc prepare { cd $_builddir export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags})' PERL_MM_USE_DEFAULT=1' perl Makefile.PL INSTALLDIRS=vendor } proc build { cd $_builddir export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}) make && make test } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } setvar sha512sums = ""6247bff20b95628453a1bfbfc6fb59c6a3967506ea45e01327d0978f48ae75b597c27c828ef10ae5e55be217e3bd0b63419523de6a81c97fabc8cf4e2a0e6cd1 Capture-Tiny-0.46.tar.gz""