# Tanım: Berkeley DB gömülü veri tabanı sistemi
# URL: http://www.oracle.com/technology/software/products/berkeley-db/index.html
# Paketçi: milisarge
# Gerekler:

isim=db
surum=6.1.26
devir=1
kaynak=(http://download.oracle.com/berkeley-db/$isim-$surum.tar.gz)

derle() {
cd $isim-$surum
cd build_unix
../dist/configure --prefix=/usr \
--enable-compat185 \
--enable-shared \
--enable-cxx --enable-dbm
make
make DESTDIR=$PKG \
docdir=/usr/share/doc/$isim-$surum install

chown -R 0:0 $PKG
chmod -R +w $PKG
rm -rf $PKG/usr/share/info/dir
}