db: disable static; cross build support.

This commit is contained in:
Juan RP 2013-02-07 00:59:18 +01:00
parent be75287f1b
commit 8e63322746
5 changed files with 12 additions and 52 deletions

View file

@ -1,15 +1,10 @@
# Template file for 'db-devel'. # Template file for 'db-devel'.
# #
depends="libdb libdb-cxx" depends="libdb>=${version} libdb-cxx>=${version}"
short_desc="${short_desc} (development files)" short_desc="${short_desc} -- development files"
long_desc="${long_desc} noarch=yes
This package contains files for development, headers, static libs, etc."
do_install() { do_install() {
vmove usr/include usr vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vmove usr/share usr vmove usr/share usr
} }

View file

@ -1,14 +1,9 @@
# Template file for 'db-docs'. # Template file for 'db-docs'.
# #
short_desc="${short_desc} (documentation files)" short_desc="${short_desc} -- documentation files"
long_desc="${long_desc}
This package contains the documentation files for the API and utilities."
noarch=yes noarch=yes
do_install() do_install() {
{
install -d ${DESTDIR}/usr/share install -d ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share
} }

View file

@ -1,9 +1,6 @@
# Template file for 'libdb-cxx'. # Template file for 'libdb-cxx'.
# #
short_desc="${short_desc} - C++ shared libraries" short_desc="${short_desc} - C++ shared libraries"
long_desc="${long_desc}
This package contains the C++ shared library for use in client programs."
do_install() { do_install() {
vmove "usr/lib/libdb_cxx*.so*" usr/lib vmove "usr/lib/libdb_cxx*.so*" usr/lib

View file

@ -1,10 +1,6 @@
# Template file for 'libdb'. # Template file for 'libdb'.
# #
short_desc="${short_desc} - shared libraries" short_desc="${short_desc} -- C shared libraries"
long_desc="${long_desc}
This package contains the shared libraries for use in client programs."
replaces="db<4.8.26" replaces="db<4.8.26"
do_install() { do_install() {

View file

@ -1,44 +1,21 @@
# Template file for 'db' # Template file for 'db'
pkgname=db pkgname=db
version=4.8.30 version=4.8.30
revision=3
wrksrc="db-${version}" wrksrc="db-${version}"
distfiles="http://download.oracle.com/berkeley-db/db-${version}.tar.gz" subpackages="libdb libdb-cxx db-docs db-devel"
build_style=gnu-configure build_style=gnu-configure
build_wrksrc="build_unix" build_wrksrc="build_unix"
configure_script="../dist/configure" configure_script="../dist/configure"
configure_args="--enable-compat185 --enable-cxx --enable-o_direct configure_args="--enable-compat185 --enable-cxx --enable-o_direct
--enable-posixmutexes" --enable-posixmutexes --disable-static"
make_build_args="LIBSO_LIBS=-lpthread" make_build_args="LIBSO_LIBS=-lpthread"
revision=2
short_desc="The Berkeley DB from Oracle" short_desc="The Berkeley DB from Oracle"
maintainer="Juan RP <xtraeme@gmail.com>" 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 checksum=e0491a07cdb21fb9aa82773bbbedaeb7639cbd0e7f96147ab46141e0045db72a
long_desc="
Berkeley DB is an embeddable database system that supports keyed access to
data. The software is distributed in source code form, and developers can
compile and link the source code into a single library for inclusion
directly in their applications.
Developers may choose to store data in any of several different storage
structures to satisfy the requirements of a particular application. In
database terminology, these storage structures and the code that operates on
them are called access methods. The library includes support for the
following access methods:
* B+tree: Stores keys in sorted order, using either a programmer-supplied
ordering function or a default function that does lexicographical
ordering of keys. Applications may perform equality or range searches.
* Hashing: Stores records in a hash table for fast searches based on
strict equality. Extended Linear Hashing modifies the hash function
used by the table as new records are inserted, in order to keep buckets
underfull in the steady state.
* Fixed and Variable-Length Records: Stores fixed- or variable-length
records in sequential order. Record numbers may be immutable or
mutable, i.e., permitting new records to be inserted between existing
records or requiring that new records be added only at the end of the
database."
subpackages="libdb libdb-cxx db-docs db-devel"
post_install() { post_install() {
vmove "usr/docs/*" usr/share/doc/${pkgname}-${version} vmove "usr/docs/*" usr/share/doc/${pkgname}-${version}