forked from ports/contrib
21 lines
551 B
Plaintext
21 lines
551 B
Plaintext
# Description: BerkeleyDB PERL module
|
|
# URL: http://search.cpan.org/dist/BerkeleyDB/
|
|
# Packager: Lucas Hazel, lucas at die dot net dot au
|
|
# Maintainer: Moritz Wilhelmy, moritz plus crux at wzff dot de
|
|
# Depends on: db
|
|
|
|
name=p5-berkeleydb
|
|
distname=BerkeleyDB
|
|
version=0.55
|
|
release=1
|
|
source=(http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/$distname-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $distname-$version
|
|
perl Makefile.PL
|
|
make OPTIMIZE="$CFLAGS"
|
|
make DESTDIR=$PKG install
|
|
find $PKG -name .packlist -o -name perllocal.pod -o -name '*.bs' |
|
|
xargs rm
|
|
}
|