# Automatically generated by apkbuild-cpan, template 2 # Contributor: Timo Teräs # Maintainer: Timo Teräs setglobal pkgname = 'perl-session-storage-secure' setglobal _pkgreal = 'Session-Storage-Secure' setglobal pkgver = '0.010' setglobal pkgrel = '0' setglobal pkgdesc = '"Encrypted, expiring, compressed, serialized session data with integrity'" setglobal url = '"http://search.cpan.org/dist/Session-Storage-Secure/'" setglobal arch = '"noarch'" setglobal license = '"apache_2_0'" setglobal cpandepends = '"perl-moox-types-mooselike perl-crypt-rijndael perl-string-compare-constanttime perl-moo perl-crypt-urandom perl-sereal-decoder perl-namespace-clean perl-crypt-cbc perl-math-random-isaac-xs perl-sereal-encoder'" setglobal cpanmakedepends = ''"" setglobal cpancheckdepends = '"perl-number-tolerant perl-test-deep perl-test-fatal'" setglobal depends = $cpandepends setglobal makedepends = ""perl-dev $cpanmakedepends"" setglobal checkdepends = $cpancheckdepends setglobal subpackages = ""$pkgname-doc"" setglobal source = ""http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_pkgreal-$pkgver.tar.gz"" setglobal builddir = ""$srcdir/$_pkgreal-$pkgver"" proc prepare { default_prepare || return 1 cd $builddir export CFLAGS=$[perl -MConfig -E 'say $Config{ccflags}] env PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } proc build { cd $builddir export CFLAGS=$[perl -MConfig -E 'say $Config{ccflags}] make } proc package { cd $builddir make DESTDIR="$pkgdir" install || return 1 find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } proc check { cd $builddir export CFLAGS=$[perl -MConfig -E 'say $Config{ccflags}] make test } setglobal sha512sums = '"e8bcdc12633cda9f119bfa5c04b8f6118be0573ae26e31d3393ad027cf8a62fa506f12750d8311da39610390866839e9eae397bd624e5ef701ee7deab9a0e362 Session-Storage-Secure-0.010.tar.gz'"