mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/perl-crypt-blowfish: new aport
This commit is contained in:
parent
7a12c9cc33
commit
ee431eb340
38
testing/perl-crypt-blowfish/APKBUILD
Normal file
38
testing/perl-crypt-blowfish/APKBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
# Contributor: Wen Heping <wenheping2000@hotmail.com>
|
||||
# Maintainer: Wen Heping <wenheping2000@hotmail.com>
|
||||
pkgname=perl-crypt-blowfish
|
||||
pkgver=2.14
|
||||
pkgrel=0
|
||||
# _pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Crypt-Blowfish
|
||||
pkgdesc="Perl module for Crypt-Blowfish"
|
||||
url="https://metacpan.org/release/Crypt-Blowfish/"
|
||||
arch="all"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl"
|
||||
makedepends="perl-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/D/DP/DPARIS/Crypt-Blowfish-$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 \
|
||||
NO_PACKLIST=1 \
|
||||
NO_PERLLOCAL=1
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
be2cdae50bff68858334ad57b124396ebcbfbf9002af4693850e881b9b857a4fa22672b8295b52a5e661381c8f910f3061290bc697770fc7f14c6b64d65496c8 Crypt-Blowfish-2.14.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user