diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-10-09 09:35:24 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-10-09 11:57:10 +0000 |
commit | 37a1249e8ea5e2ea589fc93bab70f9fcbbedd0bc (patch) | |
tree | 6eb8c9adda7cd4425ed367037fc18a4047827796 /testing | |
parent | efb1ba995fe86f793e180a6586200e990908ec05 (diff) | |
download | aports-37a1249e8ea5e2ea589fc93bab70f9fcbbedd0bc.tar.bz2 aports-37a1249e8ea5e2ea589fc93bab70f9fcbbedd0bc.tar.xz |
testing/perl-alien-base: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-alien-base/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/perl-alien-base/APKBUILD b/testing/perl-alien-base/APKBUILD new file mode 100644 index 0000000000..d8c2f17c04 --- /dev/null +++ b/testing/perl-alien-base/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: +# Maintainer: +pkgname=perl-alien-base +_pkgreal=Alien-Base +pkgver=0.023 +pkgrel=0 +pkgdesc="A base class for Alien:: modules" +url="http://search.cpan.org/dist/Alien-Base/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-file-chdir perl-sort-versions perl-file-sharedir perl-ffi-checklib perl-capture-tiny perl-shell-config-generate perl-shell-guess perl-uri perl-list-moreutils" +cpanmakedepends="perl-archive-extract" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + perl Build.PL installdirs=vendor || return 1 +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + ./Build && ./Build test +} + +package() { + cd "$_builddir" + ./Build install destdir="$pkgdir" || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="d91d30f88e292170adb02f8f327340d5 Alien-Base-0.023.tar.gz" +sha256sums="dbe91f7d681c2b05046b31743711d0fd8b97d79ad26aa1ff069d7760fa9d9f56 Alien-Base-0.023.tar.gz" +sha512sums="39751304d2ba45decb34ec4f813c157e36a6b1acc367ecb791a636864b4fdd18055d1a09b0adb85978c16bc6f8b39fc767b30528adcf887474f6caafb60e36b5 Alien-Base-0.023.tar.gz" |