mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/perl-crypt-openssl-aes: new aport
This commit is contained in:
parent
2eb2bd0c10
commit
1bbe8536b7
32
testing/perl-crypt-openssl-aes/APKBUILD
Normal file
32
testing/perl-crypt-openssl-aes/APKBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# Automatically generated by apkbuild-cpan, template 1
|
||||
# Maintainer: Sergey Safarov <s.safarov@gmail.com>
|
||||
pkgname=perl-crypt-openssl-aes
|
||||
_realname=Crypt-OpenSSL-AES
|
||||
pkgver=0.02
|
||||
pkgrel=0
|
||||
pkgdesc="Perl module Crypt-OpenSSL-AES"
|
||||
url="http://search.cpan.org/~ttar/Crypt-OpenSSL-AES-0.02/"
|
||||
arch="all"
|
||||
license="Artistic-1.0 GPL+"
|
||||
makedepends="perl-dev openssl-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="http://search.cpan.org/CPAN/authors/id/T/TT/TTAR/$_realname-$pkgver.tar.gz"
|
||||
|
||||
builddir="$srcdir"/$_realname-$pkgver
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
sha512sums="cac503bfa22d82d8cb1873ce97aeee4f2d698a7c0d27bcc055d2e8984094c098b0244498ee80425e0c699d46d1b204c8894fd0538dd2dc1d3ea0f87c593fc918 Crypt-OpenSSL-AES-0.02.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user