diff options
Diffstat (limited to 'unmaintained/perl-alien-base/APKBUILD')
-rw-r--r-- | unmaintained/perl-alien-base/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/unmaintained/perl-alien-base/APKBUILD b/unmaintained/perl-alien-base/APKBUILD new file mode 100644 index 0000000000..d9dd61fa3d --- /dev/null +++ b/unmaintained/perl-alien-base/APKBUILD @@ -0,0 +1,44 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: +# Maintainer: +pkgname=perl-alien-base +_pkgreal=Alien-Base +pkgver=0.023 +pkgrel=1 +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 perl-module-build" +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" |