void-packages/srcpkgs/db/template

25 lines
829 B
Text
Raw Normal View History

# Template file for 'db'
pkgname=db
2012-01-12 08:40:13 +00:00
version=4.8.30
2013-04-08 18:21:31 +00:00
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"
2012-01-12 08:40:13 +00:00
checksum=e0491a07cdb21fb9aa82773bbbedaeb7639cbd0e7f96147ab46141e0045db72a
post_install() {
2013-03-25 23:14:46 +00:00
chmod 755 ${DESTDIR}/usr/bin/*
vmove "usr/docs/*" usr/share/doc/${pkgname}-${version}
rmdir ${DESTDIR}/usr/docs
}