aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/perl-module-metadata/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/perl-module-metadata/APKBUILD b/main/perl-module-metadata/APKBUILD
new file mode 100644
index 0000000000..609a57becf
--- /dev/null
+++ b/main/perl-module-metadata/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=perl-module-metadata
+_pkgreal=Module-Metadata
+pkgver=1.000027
+pkgrel=0
+pkgdesc="Gather package and POD information from perl module files"
+url="http://search.cpan.org/dist/Module-Metadata/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+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"
+ 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 && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="a0bf9b900dfd49c57702de3ee3801d42 Module-Metadata-1.000027.tar.gz"
+sha256sums="e2f7dcb48e826d9cb4c08ca8d7e1a1d4ceaa7725f1245eb30c71ecbd119132e7 Module-Metadata-1.000027.tar.gz"
+sha512sums="4b71cf80a722803f664dd069b46b89cbe415bb2fd9ef81750d606ac7463c7d589256d853c4f0005fcd32e554d0cecb3724387e1ebc3b3b49d32ff516fa555c50 Module-Metadata-1.000027.tar.gz"