# Automatically generated by apkbuild-cpan, template 2 # Contributor: Timo Teräs # Maintainer: Timo Teräs setglobal pkgname = 'perl-dancer-plugin-auth-extensible' setglobal _pkgreal = 'Dancer-Plugin-Auth-Extensible' setglobal pkgver = '1.00' setglobal pkgrel = '0' setglobal pkgdesc = '"extensible authentication framework for Dancer apps'" setglobal url = '"http://search.cpan.org/dist/Dancer-Plugin-Auth-Extensible/'" setglobal arch = '"noarch'" setglobal license = '"GPL PerlArtistic'" setglobal cpandepends = '"perl-dancer perl-crypt-saltedhash'" setglobal cpanmakedepends = ''"" setglobal cpancheckdepends = ''"" setglobal depends = ""perl-yaml $cpandepends"" setglobal makedepends = ""perl-dev $cpanmakedepends"" setglobal checkdepends = $cpancheckdepends setglobal subpackages = ""$pkgname-doc"" setglobal source = ""http://search.cpan.org/CPAN/authors/id/B/BI/BIGPRESH/$_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 = '"e9b84ed97328d4efe53d07eb7d84a82b012a56acd5dc05de025849fe7c40875d3af52a7b1e501cd15eba0fc8b930cac32007daebf4fb75a1aa431af4bbfd1418 Dancer-Plugin-Auth-Extensible-1.00.tar.gz'"