# Automatically generated by apkbuild-cpan, template 1 # Contributor: Leonardo Arena <rnalrd@alpinelinux.org> # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> setvar pkgname = 'perl-crypt-x509' setvar _pkgreal = 'Crypt-X509' setvar pkgver = '0.51' setvar pkgrel = '0' setvar pkgdesc = ""Parse a X.509 certificate"" setvar url = ""http://search.cpan.org/dist/Crypt-X509/"" setvar arch = ""noarch"" setvar license = ""GPL PerlArtistic"" setvar cpandepends = ""perl-convert-asn1"" setvar cpanmakedepends = "" "" setvar depends = "$cpandepends" setvar makedepends = ""perl-dev $cpanmakedepends"" setvar subpackages = ""$pkgname-doc"" setvar source = ""http://search.cpan.org/CPAN/authors/id/A/AJ/AJUNG/$_pkgreal-$pkgver.tar.gz"" setvar _builddir = ""$srcdir/$_pkgreal-$pkgver"" proc prepare { cd $_builddir export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags})' PERL_MM_USE_DEFAULT=1' perl Makefile.PL INSTALLDIRS=vendor } proc build { cd $_builddir export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}) make && make test } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete } setvar md5sums = ""aadab2960d2bd65a212d1bd7f50e282a Crypt-X509-0.51.tar.gz"" setvar sha256sums = ""0fa08246f6342cc4f6d5592ffb4a48b68a6aa49c5d65d0773769252d9ba743f3 Crypt-X509-0.51.tar.gz"" setvar sha512sums = ""3004bffe23de076a534e2aa75b8892fc8aa3cfebf1d03e177c58be4ba245f958748c68a302f8e97d2dd9fc1728c26fd08fe7b5e238acfacef6b99900bd7aa3a1 Crypt-X509-0.51.tar.gz""