Skip to content
Snippets Groups Projects
Commit 67b40165 authored by Francesco Colista's avatar Francesco Colista
Browse files

testing/perl-db_file: new aport

parent cfe11937
No related branches found
No related tags found
1 merge request!39304[3.16] main/expat: security upgrade to 2.4.9
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-db_file
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=DB_File
pkgver=1.858
pkgrel=0
pkgdesc="Perl5 access to Berkeley DB version 1.x"
url="https://metacpan.org/release/DB_File/"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev db-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PM/PMQS/DB_File-$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="
8e5fe8a8496b4bb5d4a7ae903c8c6da8240875e747005a15a6158c23a0edf4e9e3231522a4b23e35e5ba67b9d942381f83a2727b0fb6c5623fc65ec37f440fde DB_File-1.858.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment