2009-10-13 04:54:09 +00:00
|
|
|
# Template file for 'db'
|
|
|
|
pkgname=db
|
2012-01-12 08:40:13 +00:00
|
|
|
version=4.8.30
|
2013-02-06 23:59:18 +00:00
|
|
|
revision=3
|
2010-01-13 23:16:21 +00:00
|
|
|
wrksrc="db-${version}"
|
2013-02-06 23:59:18 +00:00
|
|
|
subpackages="libdb libdb-cxx db-docs db-devel"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2010-01-13 23:16:21 +00:00
|
|
|
build_wrksrc="build_unix"
|
2009-10-13 04:54:09 +00:00
|
|
|
configure_script="../dist/configure"
|
|
|
|
configure_args="--enable-compat185 --enable-cxx --enable-o_direct
|
2013-02-06 23:59:18 +00:00
|
|
|
--enable-posixmutexes --disable-static"
|
2009-10-13 04:54:09 +00:00
|
|
|
make_build_args="LIBSO_LIBS=-lpthread"
|
|
|
|
short_desc="The Berkeley DB from Oracle"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-02-06 23:59:18 +00:00
|
|
|
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
|
2009-10-13 04:54:09 +00:00
|
|
|
|
2012-02-06 15:51:04 +00:00
|
|
|
post_install() {
|
|
|
|
vmove "usr/docs/*" usr/share/doc/${pkgname}-${version}
|
2009-10-13 04:54:09 +00:00
|
|
|
rmdir ${DESTDIR}/usr/docs
|
|
|
|
}
|