summaryrefslogtreecommitdiff
path: root/system/perl-module-install/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 06:17:23 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 06:17:23 -0500
commit13e6e7d5cf2584cf345743cc0e8113e78138b183 (patch)
treebac9bc461c876e27ea5cf20c157c57492ce643d3 /system/perl-module-install/APKBUILD
parent6cc5611067d85c23f6cc398b1a9624b315cb4418 (diff)
downloadpackages-13e6e7d5cf2584cf345743cc0e8113e78138b183.tar.gz
packages-13e6e7d5cf2584cf345743cc0e8113e78138b183.tar.bz2
packages-13e6e7d5cf2584cf345743cc0e8113e78138b183.tar.xz
packages-13e6e7d5cf2584cf345743cc0e8113e78138b183.zip
system/perl-module-install: pull in for perl-authen-sasl
Diffstat (limited to 'system/perl-module-install/APKBUILD')
-rw-r--r--system/perl-module-install/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/system/perl-module-install/APKBUILD b/system/perl-module-install/APKBUILD
new file mode 100644
index 000000000..df5e2fc71
--- /dev/null
+++ b/system/perl-module-install/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-module-install
+_pkgreal=Module-Install
+pkgver=1.19
+pkgrel=1
+pkgdesc="Standalone, extensible Perl module installer"
+url="http://search.cpan.org/dist/Module-Install/"
+arch="noarch"
+license="GPL-2.0-only OR Artistic-1.0-Perl"
+cpanmakedepends="perl-file-remove perl-module-build perl-module-scandeps perl-yaml-tiny"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$builddir"
+ 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
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="68a255402c98955cfcb5a8a99555fe511b89d5fccf96ee1c498cab347c8945f3abe53485ea936f7419420d9c7beb52c861516f4cfd299812cebf80eab50fa5ba Module-Install-1.19.tar.gz"