aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-mozilla-ca
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-12-24 09:22:45 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-12-24 09:22:45 +0000
commitafa787b96db15f2feb1a7d3a83591388e63e5554 (patch)
treef4b2d400a0fff5d56099139b02b3657db1d73a4d /main/perl-mozilla-ca
parentf3046b4dad6de3ec198f9c5aa4ad50d7b7ebcfa7 (diff)
downloadaports-afa787b96db15f2feb1a7d3a83591388e63e5554.tar.bz2
aports-afa787b96db15f2feb1a7d3a83591388e63e5554.tar.xz
testing/perl-mozilla-ca: move to main
Diffstat (limited to 'main/perl-mozilla-ca')
-rw-r--r--main/perl-mozilla-ca/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/perl-mozilla-ca/APKBUILD b/main/perl-mozilla-ca/APKBUILD
new file mode 100644
index 0000000000..b23c19c34e
--- /dev/null
+++ b/main/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"