mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
main/perl-crypt-x509: new aport
This commit is contained in:
parent
48ae6250ce
commit
586bd6e695
41
main/perl-crypt-x509/APKBUILD
Normal file
41
main/perl-crypt-x509/APKBUILD
Normal file
@ -0,0 +1,41 @@
|
||||
# Automatically generated by apkbuild-cpan, template 1
|
||||
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
||||
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
||||
pkgname=perl-crypt-x509
|
||||
_pkgreal=Crypt-X509
|
||||
pkgver=0.51
|
||||
pkgrel=0
|
||||
pkgdesc="Parse a X.509 certificate"
|
||||
url="http://search.cpan.org/dist/Crypt-X509/"
|
||||
arch="noarch"
|
||||
license="GPL PerlArtistic"
|
||||
cpandepends="perl-convert-asn1"
|
||||
cpanmakedepends=" "
|
||||
depends="$cpandepends"
|
||||
makedepends="perl-dev $cpanmakedepends"
|
||||
subpackages="$pkgname-doc"
|
||||
source="http://search.cpan.org/CPAN/authors/id/A/AJ/AJUNG/$_pkgreal-$pkgver.tar.gz"
|
||||
|
||||
_builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
prepare() {
|
||||
cd "$_builddir"
|
||||
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
||||
make && make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
md5sums="aadab2960d2bd65a212d1bd7f50e282a Crypt-X509-0.51.tar.gz"
|
||||
sha256sums="0fa08246f6342cc4f6d5592ffb4a48b68a6aa49c5d65d0773769252d9ba743f3 Crypt-X509-0.51.tar.gz"
|
||||
sha512sums="3004bffe23de076a534e2aa75b8892fc8aa3cfebf1d03e177c58be4ba245f958748c68a302f8e97d2dd9fc1728c26fd08fe7b5e238acfacef6b99900bd7aa3a1 Crypt-X509-0.51.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user