2016-02-24 01:27:23 +01:00
|
|
|
# Description: The Berkeley DB embedded database system
|
|
|
|
# URL: http://www.oracle.com/technology/software/products/berkeley-db/index.html
|
2017-01-31 01:37:09 +01:00
|
|
|
# Packager: milisarge
|
|
|
|
# Depends on:
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
name=db
|
|
|
|
version=6.1.26
|
|
|
|
release=1
|
|
|
|
source=(http://download.oracle.com/berkeley-db/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
cd build_unix
|
|
|
|
../dist/configure --prefix=/usr \
|
|
|
|
--enable-compat185 \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-cxx --enable-dbm
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG \
|
|
|
|
docdir=/usr/share/doc/$name-$version install
|
|
|
|
|
|
|
|
chown -R 0:0 $PKG
|
|
|
|
chmod -R +w $PKG
|
|
|
|
rm -rf $PKG/usr/share/info/dir
|
|
|
|
}
|