summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 17:51:28 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 17:51:28 -0500
commit8f5bff2f40571728b6f7c64a1561a45cba5b10d3 (patch)
treecd1d32a72cfa9a51e2e46f64b5480d343bbb5ce1 /system
parentcf2ffff46bf98918a61fe461bfe33a4672486ec9 (diff)
downloadpackages-8f5bff2f40571728b6f7c64a1561a45cba5b10d3.tar.gz
packages-8f5bff2f40571728b6f7c64a1561a45cba5b10d3.tar.bz2
packages-8f5bff2f40571728b6f7c64a1561a45cba5b10d3.tar.xz
packages-8f5bff2f40571728b6f7c64a1561a45cba5b10d3.zip
system/perl-extutils-config: pull in for perl-module-build-tiny
Diffstat (limited to 'system')
-rw-r--r--system/perl-extutils-config/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/system/perl-extutils-config/APKBUILD b/system/perl-extutils-config/APKBUILD
new file mode 100644
index 000000000..c4eab6a9f
--- /dev/null
+++ b/system/perl-extutils-config/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-config
+_pkgreal=ExtUtils-Config
+pkgver=0.008
+pkgrel=0
+pkgdesc="A wrapper library for Perl configuration"
+url="http://search.cpan.org/dist/ExtUtils-Config/"
+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="7775e2212b4605e60559c7e63604b8f2b4c56f4846e64f9f4454f3f5d0a7a21f618143e6c61eafabf5d9ee9bca8f722c04aedeaf9c51f59924de68c272b86db2 ExtUtils-Config-0.008.tar.gz"