2006-02-23 16:26:10 +01:00
|
|
|
# Description: Berkeley DB
|
2008-09-16 21:39:59 +02:00
|
|
|
# URL: http://www.oracle.com/database/berkeley-db/index.html
|
2007-01-23 18:25:18 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=db
|
2014-02-16 10:36:20 +01:00
|
|
|
version=5.3.28
|
2010-06-03 12:34:31 +02:00
|
|
|
release=1
|
|
|
|
source=(http://download.oracle.com/berkeley-db/$name-$version.tar.gz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2010-06-03 12:34:31 +02:00
|
|
|
cd $name-$version/build_unix
|
2006-02-23 16:26:10 +01:00
|
|
|
../dist/configure --prefix=/usr \
|
2008-09-16 21:39:59 +02:00
|
|
|
--enable-compat185 \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-static \
|
|
|
|
--enable-cxx
|
2006-02-23 16:26:10 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2008-09-16 21:39:59 +02:00
|
|
|
rm -r $PKG/usr/docs
|
2006-02-23 16:26:10 +01:00
|
|
|
chmod -R +w $PKG
|
|
|
|
}
|