description="Berkeley DB." packager="CRUX System Team " maintainer="Lukc " url="http://www.oracle.com/database/berkeley-db/index.html" depends=() name=db version=4.8.30 release=1 source=(http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz) build () { cd $name-$version/build_unix; ../dist/configure \ ${CHOST:+--build=${CHOST}} \ ${CTARGET:+--host=${CTARGET}} \ --prefix=$prefix \ --enable-compat185 \ --enable-shared \ --enable-static \ --enable-cxx; make; make DESTDIR=$PKG install; rm -r $PKG/usr/docs; chmod -R +w $PKG }