aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2020-07-07 00:45:41 +0000
committerMilan P. Stanić <mps@arvanta.net>2020-07-07 07:20:39 +0000
commit406bd3a9d4813764c59ef151950764602b0e088e (patch)
tree6cf20416bf6dd3888b7c88bf1d6b4af4bcc20269
parent3b30e5b868a3a76878df581937015fcf0dacb871 (diff)
downloadaports-406bd3a9d4813764c59ef151950764602b0e088e.tar.gz
aports-406bd3a9d4813764c59ef151950764602b0e088e.tar.bz2
aports-406bd3a9d4813764c59ef151950764602b0e088e.tar.xz
testing/perl-xml-sig: new aport
-rw-r--r--testing/perl-xml-sig/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/perl-xml-sig/APKBUILD b/testing/perl-xml-sig/APKBUILD
new file mode 100644
index 0000000000..d06a19d293
--- /dev/null
+++ b/testing/perl-xml-sig/APKBUILD
@@ -0,0 +1,36 @@
+# Automatically generated by apkbuild-cpan, template 3
+# Contributor: Timothy Legge <timlegge@gmail.com>
+# Maintainer: Timothy Legge <timlegge@gmail.com>
+pkgname=perl-xml-sig
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
+_pkgreal=XML-Sig
+pkgver=0.28
+pkgrel=0
+pkgdesc="A toolkit to help sign and verify XML Digital Signatures."
+url="https://metacpan.org/release/XML-Sig/"
+arch="noarch"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl perl-crypt-openssl-bignum perl-crypt-openssl-dsa perl-class-accessor perl-xml-canonicalizexml perl-crypt-openssl-x509 perl-xml-xpath perl-crypt-openssl-rsa"
+makedepends="perl-dev"
+checkdepends="perl-test-exception perl-file-which"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/XML-Sig-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="8cd043ca5a7638fafa92d682abe850380c8e5fff0c58773ff27e7ee51027c271dd73ff6c38417d37e5f95f29f42f8db29735d604dc548cd168e048878d9b00ff XML-Sig-0.28.tar.gz"