void-packages/srcpkgs/db/template
2013-02-07 00:59:18 +01:00

23 lines
797 B
Text

# Template file for 'db'
pkgname=db
version=4.8.30
revision=3
wrksrc="db-${version}"
subpackages="libdb libdb-cxx db-docs db-devel"
build_style=gnu-configure
build_wrksrc="build_unix"
configure_script="../dist/configure"
configure_args="--enable-compat185 --enable-cxx --enable-o_direct
--enable-posixmutexes --disable-static"
make_build_args="LIBSO_LIBS=-lpthread"
short_desc="The Berkeley DB from Oracle"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.oracle.com/technetwork/products/berkeleydb/overview/index.html"
license="BSD"
distfiles="http://download.oracle.com/berkeley-db/db-${version}.tar.gz"
checksum=e0491a07cdb21fb9aa82773bbbedaeb7639cbd0e7f96147ab46141e0045db72a
post_install() {
vmove "usr/docs/*" usr/share/doc/${pkgname}-${version}
rmdir ${DESTDIR}/usr/docs
}