aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-authcas/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-authcas/APKBUILD')
-rw-r--r--testing/perl-authcas/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/perl-authcas/APKBUILD b/testing/perl-authcas/APKBUILD
new file mode 100644
index 0000000000..89063246d0
--- /dev/null
+++ b/testing/perl-authcas/APKBUILD
@@ -0,0 +1,35 @@
+# Automatically generated by apkbuild-cpan, template 2
+# Contributor: Timothy Legge <timlegge@gmail.com>
+# Maintainer: Timothy Legge <timlegge@gmail.com>
+pkgname=perl-authcas
+_pkgreal=AuthCAS
+pkgver=1.7
+pkgrel=0
+pkgdesc="Client library for JA-SIG CAS 2.0 authentication server"
+url="https://metacpan.org/release/AuthCAS/"
+arch="noarch"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+cpandepends="perl-libwww perl-io-socket-ssl"
+cpanmakedepends="perl-module-build"
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/O/OS/OSALAUN/AuthCAS-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ perl Build.PL installdirs=vendor
+ ./Build
+}
+
+check() {
+ ./Build test
+}
+
+package() {
+ ./Build install destdir="$pkgdir"
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="10c85ca528bedfd2e54014be3e31ac748c2af923ed58c0af8a066abe213829cee0715a0c711e1e3591854f7bab5f56515e0c883ca0b0353d16170f100168c3be AuthCAS-1.7.tar.gz"