aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-net-saml2/APKBUILD
blob: 86f05f10fbb410e7bd7fddc86063a31738e0e488 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Timothy Legge <timlegge@gmail.com>
# Maintainer: Timothy Legge <timlegge@gmail.com>
pkgname=perl-net-saml2
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Net-Saml2
pkgver=0.25
pkgrel=0
pkgdesc="SAML bindings and protocol implementation"
url="https://metacpan.org/release/Net-Saml2/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-moosex-types perl-crypt-openssl-x509 perl-crypt-openssl-random perl-moosex-types-common perl-crypt-openssl-dsa perl-xml-tidy perl-xml-generator perl-file-slurp perl-uri perl-xml-xpath perl-class-accessor perl-xml-writer perl-crypt-openssl-verifyx509 perl-xml-canonicalizexml perl-http-message perl-datetime-format-xsd perl-crypt-openssl-rsa perl-moosex-types-datetime perl-libwww perl-moosex-types-uri perl-crypt-openssl-bignum"
makedepends="perl-dev"
checkdepends="perl-test-notabs perl-test-pod-coverage perl-dancer perl-yaml"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/Net-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="0bf91cc62a101f46ae4a8d4a9cca58720a293daa74d23241486e68840f924832c82bf12b70ec06594641a6f101dfecf28e1efc84b8fffb08252bfe8dd307fb79  Net-Saml2-0.25.tar.gz"