Commit 059dabbb authored by Timothy Legge's avatar Timothy Legge Committed by Kevin Daudt
Browse files

testing/perl-crypt-smime: new aport

parent c0b3f98a
# Automatically generated by apkbuild-cpan, template 2
# Contributor: Timothy Legge <timlegge@gmail.com>
# Maintainer: Timothy Legge <timlegge@gmail.com>
pkgname=perl-crypt-smime
_pkgreal=Crypt-SMIME
pkgver=0.25
pkgrel=0
pkgdesc="S/MIME message signing, verification, encryption and decryption"
url="https://metacpan.org/release/Crypt-SMIME/"
arch="all"
license="GPL-1.0-or-later Artistic-1.0-Perl"
cpanmakedepends="perl-extutils-cchecker perl-test-exception perl-extutils-pkgconfig"
makedepends="openssl-dev perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/MI/MIKAGE/Crypt-SMIME-$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="84f61c247d095ad345a6c736120d11c516e776c5f4a599a4c275481c4bd4597fcb2e0a17da5dc3e111310d3f99f9f39fb0876477098d9e6d9eabd777d145176f Crypt-SMIME-0.25.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment