aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-mozilla-ca
diff options
context:
space:
mode:
authorKiyoshi Aman <aphrael@alpinelinux.org>2011-07-20 01:04:10 -0400
committerKiyoshi Aman <aphrael@alpinelinux.org>2011-07-20 01:08:02 -0400
commite5c51ee3e08a9bbd10db7cdf213ce57c2a4cf36d (patch)
treec31e4a42a640ac75fbbc8ae7b27c0ab1a6227a40 /testing/perl-mozilla-ca
parent63c45980539768e8e068112a75a9114f0b0bf0f8 (diff)
downloadaports-e5c51ee3e08a9bbd10db7cdf213ce57c2a4cf36d.tar.bz2
aports-e5c51ee3e08a9bbd10db7cdf213ce57c2a4cf36d.tar.xz
testing/perl-mozilla-ca: new aport
Diffstat (limited to 'testing/perl-mozilla-ca')
-rw-r--r--testing/perl-mozilla-ca/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/perl-mozilla-ca/APKBUILD b/testing/perl-mozilla-ca/APKBUILD
new file mode 100644
index 0000000000..b23c19c34e
--- /dev/null
+++ b/testing/perl-mozilla-ca/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
+pkgname=perl-mozilla-ca
+_pkgreal=Mozilla-CA
+pkgver=20110409
+pkgrel=0
+pkgdesc="Mozilla's CA cert bundle in PEM format"
+url="http://search.cpan.org/dist/Mozilla-CA/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/A/AB/ABH/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="b68cbbc2a364de8e2c418b46126221d0 Mozilla-CA-20110409.tar.gz"