void-packages/srcpkgs/db/template
2013-04-08 20:21:31 +02:00

24 lines
829 B
Text

# Template file for 'db'
pkgname=db
version=4.8.30
revision=4
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() {
chmod 755 ${DESTDIR}/usr/bin/*
vmove "usr/docs/*" usr/share/doc/${pkgname}-${version}
rmdir ${DESTDIR}/usr/docs
}