2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: Berkeley DB
|
|
|
|
|
# URL: http://www.sleepycat.com/products/db.shtml
|
2006-04-20 20:37:09 +00:00
|
|
|
|
# Maintainer: Per Lid<69>n, core-ports at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
name=db
|
2006-02-23 17:25:10 +00:00
|
|
|
|
version=4.4.20
|
2006-09-28 14:35:45 +00:00
|
|
|
|
release=2
|
2006-10-13 14:46:56 +00:00
|
|
|
|
source=(http://download.oracle.com/berkeley-db/$name-$version.tar.gz \
|
|
|
|
|
http://www.oracle.com/technology/products/berkeley-db/db/update/4.4.20/patch.4.4.20.{1,2,3,4})
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
build() {
|
2006-02-23 17:25:10 +00:00
|
|
|
|
cd $name-$version
|
2006-09-28 14:35:45 +00:00
|
|
|
|
cat $SRC/patch.4.4.20.{1,2,3,4} | patch -p0
|
2006-02-23 17:25:10 +00:00
|
|
|
|
cd build_unix
|
2006-02-23 15:26:10 +00: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
|
|
|
|
|
}
|