diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 17:53:47 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-26 17:53:47 -0500 |
commit | 041bd4375b81ab80bb441183d2c3a8c7f965917d (patch) | |
tree | b44585a890c30409989575d57740a4770910b73d /system | |
parent | 8f5bff2f40571728b6f7c64a1561a45cba5b10d3 (diff) | |
download | packages-041bd4375b81ab80bb441183d2c3a8c7f965917d.tar.gz packages-041bd4375b81ab80bb441183d2c3a8c7f965917d.tar.bz2 packages-041bd4375b81ab80bb441183d2c3a8c7f965917d.tar.xz packages-041bd4375b81ab80bb441183d2c3a8c7f965917d.zip |
system/perl-extutils-helpers: pull in for perl-module-build-tiny
Diffstat (limited to 'system')
-rw-r--r-- | system/perl-extutils-helpers/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/system/perl-extutils-helpers/APKBUILD b/system/perl-extutils-helpers/APKBUILD new file mode 100644 index 000000000..d125cdb7f --- /dev/null +++ b/system/perl-extutils-helpers/APKBUILD @@ -0,0 +1,43 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-extutils-helpers +_pkgreal=ExtUtils-Helpers +pkgver=0.026 +pkgrel=0 +pkgdesc="Various portability utilities for Perl module builders" +url="http://search.cpan.org/dist/ExtUtils-Helpers/" +arch="noarch" +license="GPL-2.0-only OR Artistic-1.0-Perl" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/$_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 +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="372d801f43003c571758823a84bfe418876f1b48e3d8c35f888ca41469f6771a33aa30cf893a4c4a68ea62c6e8c8c6ab2ef44ee783dbf9f25e18bc0389359399 ExtUtils-Helpers-0.026.tar.gz" |