aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-authcas
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2019-06-07 01:30:15 +0000
committerLeo <thinkabit.ukim@gmail.com>2019-06-06 22:50:30 -0300
commit6fb25ad257680e05ae1b7328ca577e158f8a68f6 (patch)
treef27009ac6411e583db79f4015508cc4fcbc3c706 /testing/perl-authcas
parent9c5ea606653402a02782ee13d2c2189a86b897cf (diff)
downloadaports-6fb25ad257680e05ae1b7328ca577e158f8a68f6.tar.bz2
aports-6fb25ad257680e05ae1b7328ca577e158f8a68f6.tar.xz
testing/perl-authcas: new aport
Diffstat (limited to 'testing/perl-authcas')
-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"