diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2013-09-04 08:51:06 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2013-09-04 09:04:45 +0000 |
commit | a198f162da14f16d12e6066bad6dd1409492dfdf (patch) | |
tree | fc0b434b5b1d383853ba3eef8152e140637346de /testing/perl-linux-pid | |
parent | 65827bb01bf3e72db26805c61e75814977dfbc06 (diff) | |
download | aports-a198f162da14f16d12e6066bad6dd1409492dfdf.tar.bz2 aports-a198f162da14f16d12e6066bad6dd1409492dfdf.tar.xz |
testing/perl-linux-pid: new aport
Diffstat (limited to 'testing/perl-linux-pid')
-rw-r--r-- | testing/perl-linux-pid/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-linux-pid/APKBUILD b/testing/perl-linux-pid/APKBUILD new file mode 100644 index 000000000..9cead485d --- /dev/null +++ b/testing/perl-linux-pid/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=perl-linux-pid +_pkgreal=Linux-Pid +pkgver=0.04 +pkgrel=0 +pkgdesc="unknown" +url="http://search.cpan.org/dist/Linux-Pid/" +arch="all" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/R/RG/RGARCIA/$_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="130c4d299f827abf1f2285fddf03fccb Linux-Pid-0.04.tar.gz" +sha256sums="f2ac2444a74e762783bbd36c486352f96340434d34ae7926d6ab234966540f49 Linux-Pid-0.04.tar.gz" +sha512sums="b28418285f6e75e87d23b6eae2b5bcd300ba68248b10a0fc8ba38e8e4c09a3053076e591357263caf43dc09958bceea02680f420bb92ed05ce243a36b1e42c09 Linux-Pid-0.04.tar.gz" |