2006-02-23 16:26:10 +01:00
|
|
|
|
# Description: Berkeley DB
|
|
|
|
|
# URL: http://www.sleepycat.com/products/db.shtml
|
2006-04-20 22:37:09 +02:00
|
|
|
|
# Maintainer: Per Lid<69>n, core-ports at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
|
|
name=db
|
2006-02-23 18:25:10 +01:00
|
|
|
|
version=4.4.20
|
2006-02-23 16:26:10 +01:00
|
|
|
|
release=1
|
2006-02-23 18:25:10 +01:00
|
|
|
|
source=(ftp://ftp.sleepycat.com/releases/$name-$version.tar.gz \
|
|
|
|
|
http://www.sleepycat.com/update/4.4.20/patch.4.4.20.1 \
|
|
|
|
|
http://www.sleepycat.com/update/4.4.20/patch.4.4.20.2)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
|
|
build() {
|
2006-02-23 18:25:10 +01:00
|
|
|
|
cd $name-$version
|
|
|
|
|
patch -p0 < ../patch.4.4.20.1
|
|
|
|
|
patch -p0 < ../patch.4.4.20.2
|
|
|
|
|
cd build_unix
|
2006-02-23 16:26:10 +01:00
|
|
|
|
LDFLAGS="-lpthread" \
|
|
|
|
|
../dist/configure --prefix=/usr \
|
|
|
|
|
--enable-compat185 \
|
|
|
|
|
--enable-shared \
|
|
|
|
|
--enable-static \
|
|
|
|
|
--enable-cxx
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
rm -rf $PKG/usr/docs
|
|
|
|
|
chmod -R +w $PKG
|
|
|
|
|
}
|