aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2022-08-06 21:31:41 -0300
committerpsykose <alice@ayaya.dev>2022-08-07 17:01:17 +0200
commitdb448360825d9406c1cdba8c955dcbb7a9caa900 (patch)
tree48f5a787b304d92d3ab2949c2c9255420bd3c324
parent0f3fa72739cf6c3c57e6302cbce398ca0600ca73 (diff)
downloadaports-db448360825d9406c1cdba8c955dcbb7a9caa900.tar.gz
aports-db448360825d9406c1cdba8c955dcbb7a9caa900.tar.bz2
aports-db448360825d9406c1cdba8c955dcbb7a9caa900.tar.xz
community/perl-urn-oasis-saml2: new aport
-rw-r--r--community/perl-urn-oasis-saml2/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/perl-urn-oasis-saml2/APKBUILD b/community/perl-urn-oasis-saml2/APKBUILD
new file mode 100644
index 0000000000..45f06f314a
--- /dev/null
+++ b/community/perl-urn-oasis-saml2/APKBUILD
@@ -0,0 +1,37 @@
+# Automatically generated by apkbuild-cpan, template 3
+# Contributor: Timothy Legge <timlegge@gmail.com>
+# Maintainer: Timothy Legge <timlegge@gmail.com>
+pkgname=perl-urn-oasis-saml2
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
+_pkgreal=URN-OASIS-SAML2
+pkgver=0.003
+pkgrel=0
+pkgdesc="Constants for urn:oasis SAML2 implementations"
+url="https://metacpan.org/release/URN-OASIS-SAML2/"
+arch="noarch"
+license="BSD-3-Clause"
+depends="perl"
+checkdepends="perl-test-deep"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/W/WA/WATERKIP/URN-OASIS-SAML2-$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="
+de331857e77c66c7705563e8dd98e372193ca18306738ced34e216fbfd9c74878728bfd1c2942a4e5cfc2a58b7b8df2586951293d77116ad8e7a1f46e1897364 URN-OASIS-SAML2-0.003.tar.gz
+"