blob: 71a87ecea5b3c6f51ed3efc1f97602ffd2c600d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-db
_realname=BerkeleyDB
pkgver=0.61
pkgrel=0
pkgdesc="Perl extension for Berkeley DB version 2, 3 or 4"
url="http://search.cpan.org/dist/BerkeleyDB/"
arch="all"
license="GPL PerlArtistic"
depends="perl"
makedepends="perl-dev db-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/$_realname-$pkgver.tar.gz"
build() {
cd "$srcdir/$_realname-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd "$srcdir/$_realname-$pkgver"
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
sha512sums="b2ca317472901e92b452f943e618dd17c1dceb196515ad42830f4119872355a953bd96586b7839a16f99cc38b0c441617429bacdcf39f3deef7252cb61ca9929 BerkeleyDB-0.61.tar.gz"
|