Gitlab has successfully been upgraded to 14.0.10 🎉. Enjoy!

Commit 5a48ee64 authored by Leonardo Arena's avatar Leonardo Arena
Browse files

main/perl-db_file: remove due to BDB licensing issues

No package should depend on it
parent 11b42a19
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-db_file
_pkgname=DB_File
pkgver=1.855
pkgrel=0
pkgdesc="Perl5 access to Berkeley DB version 1.x"
url="https://metacpan.org/pod/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"
[ "$CARCH" = "x86" ] && options="!check"
source="https://cpan.metacpan.org/authors/id/P/PM/PMQS/DB_File-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
prepare() {
default_prepare
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
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="e41cc84a59cff1a4c87206d6523d258da47f2fe151113f55f8fcc7fa87700bc807c46d55993c34d7762eb2cc9adc9ab6ef030f5b850d52563f0d10a75050df77 DB_File-1.855.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