diff options
Diffstat (limited to 'dev-db/opendbx')
-rw-r--r-- | dev-db/opendbx/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/opendbx/Manifest | 15 | ||||
-rw-r--r-- | dev-db/opendbx/files/opendbx-1.3.10-gcc-4.3.patch | 10 | ||||
-rw-r--r-- | dev-db/opendbx/opendbx-1.3.10.ebuild | 65 |
4 files changed, 96 insertions, 2 deletions
diff --git a/dev-db/opendbx/ChangeLog b/dev-db/opendbx/ChangeLog index 30cf4bab0324..52a0d760d401 100644 --- a/dev-db/opendbx/ChangeLog +++ b/dev-db/opendbx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/opendbx # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/opendbx/ChangeLog,v 1.20 2008/05/21 15:55:36 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/opendbx/ChangeLog,v 1.21 2008/06/18 21:18:08 swegener Exp $ + +*opendbx-1.3.10 (18 Jun 2008) + + 18 Jun 2008; Sven Wegener <swegener@gentoo.org> + +files/opendbx-1.3.10-gcc-4.3.patch, +opendbx-1.3.10.ebuild: + Version bump, development version. 21 May 2008; Tiziano Müller <dev-zero@gentoo.org> opendbx-1.2.4.ebuild, opendbx-1.2.6.ebuild, opendbx-1.3.8.ebuild: diff --git a/dev-db/opendbx/Manifest b/dev-db/opendbx/Manifest index 2f4ac4d9991a..721246fc8a73 100644 --- a/dev-db/opendbx/Manifest +++ b/dev-db/opendbx/Manifest @@ -1,8 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX opendbx-1.3.10-gcc-4.3.patch 243 RMD160 a59044984003a1c61cae9108546ccca79b17f6b9 SHA1 60124f50191c71822d9723c491d5ac515867db1f SHA256 6f1518046b3cd1fe9a033881dc2f37a34b5d498118fae57ce943883d02495b7e DIST opendbx-1.2.4.tar.gz 483674 RMD160 c7fe5af0de4784e28daca0c6eaf5b95a5ff94c06 SHA1 62d45a34d6de49c58cc4b4c0f41680b064fff913 SHA256 5c5982878b847d8d7ab29ce43ca24a099e0db5f0573b5ad59724af3075953064 DIST opendbx-1.2.6.tar.gz 487528 RMD160 19e832dd560f732f16f2bd76e493bcc479c96342 SHA1 4a485cf487609e9dcc4c9ff40c2b894e05a067a6 SHA256 99367a4d150964112f6deec4f929f18fcf5076fae220cc7c133fc6d99060b8d5 +DIST opendbx-1.3.10.tar.gz 558445 RMD160 fea58a82ef03fc44c518caab9115b3ac5fccfcb5 SHA1 465f381c47f8bc3db025e4967065fcb556174a65 SHA256 a718eed8b44c1b4d69617ccba098c3a056db2be70b52cb21c92b43b21ced5701 DIST opendbx-1.3.8.tar.gz 545867 RMD160 0571f18a37b0ae5fb4704e1e54233882215cc6d5 SHA1 b97faef9ef5dfab4fcb0f8bc6e65eb8cb084caf3 SHA256 2d13bdbc8195105bd723951d0f837247c070fa5b00104730958263bc1c7dcaab EBUILD opendbx-1.2.4.ebuild 1879 RMD160 2658cbe1cca41fc56d23304ce286a353f837ba70 SHA1 a34c532f8ea019440c9c5221dbcd730930f7c583 SHA256 037f814a88a4d85ceb5011bf343ebdfbee520d20fca9ec46838da72c71107f7a EBUILD opendbx-1.2.6.ebuild 1881 RMD160 93d81cb9fe4ec0579348428b46fa7f0cc5654f49 SHA1 6d469e52bb8a3568ccd878abc4d1067874dc9a6c SHA256 0aec8d1c2cbb7ea21854c2f295199abd9f5334ce37c0354a888487112025390e +EBUILD opendbx-1.3.10.ebuild 1971 RMD160 26d3012b2740101e7e98329fb6289b4e0139efc2 SHA1 08f88fb63ae753a8e018db2866b51c8b3cd33121 SHA256 ec841b2bff2b331cce833bac3dd0c8240d6b69383647cfa3eb4ac179ee38d76e EBUILD opendbx-1.3.8.ebuild 1879 RMD160 e1470a14623085d0cca88a7f96764bb7ec3100d0 SHA1 c39db0e28778fc1ae198f11575f06b2b11396698 SHA256 28e638352d0fc57c6ee0fad51a2d9c33e9982eb90837234b7a55f063b975e6e4 -MISC ChangeLog 3055 RMD160 331cbb2b4c495e6e29ff5f93db566cf27569b6bb SHA1 2a98b405ad6268f483e44f814618ae596d360515 SHA256 ffc3bf9e8db1f66bcdd15d598e994e3ac5813242868395fd74c4697083ccc0ca +MISC ChangeLog 3237 RMD160 0abbe63188a6b4715ac89ba484fa205cac8571d4 SHA1 1583a31c40213e6ad6fa25d23280e8cd0ea8388a SHA256 fd8532f95fa64f111da5c3ca493ae4c86f637942b3eade50cd8b4f63eabaecdc MISC metadata.xml 270 RMD160 01cecefd41441cf3f8bd37ead6ec864b154be2d7 SHA1 6762f98354ff738ecbe57163b0bbfe9c95dabf15 SHA256 2f9cdcca7aeb9551225d2854c8b3ab2048a1a6c9424b1cceb67db2bd030d4602 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkhZe5YACgkQI1lqEGTUzySFhACgtdBCk0WsmTLJoDQ5q9ojY+is +trgAnjtJ72qIT/DdaZfnn02JAAxPy9sb +=HeMT +-----END PGP SIGNATURE----- diff --git a/dev-db/opendbx/files/opendbx-1.3.10-gcc-4.3.patch b/dev-db/opendbx/files/opendbx-1.3.10-gcc-4.3.patch new file mode 100644 index 000000000000..0e5bc504f3e5 --- /dev/null +++ b/dev-db/opendbx/files/opendbx-1.3.10-gcc-4.3.patch @@ -0,0 +1,10 @@ +--- opendbx-1.3.10/test/odbxplus-regression.cpp ++++ opendbx-1.3.10/test/odbxplus-regression.cpp +@@ -12,6 +12,7 @@ + #include <vector> + #include <iostream> + #include <opendbx/api> ++#include <cstdlib> + + #ifdef HAVE_CONFIG_H + #include <config.h> diff --git a/dev-db/opendbx/opendbx-1.3.10.ebuild b/dev-db/opendbx/opendbx-1.3.10.ebuild new file mode 100644 index 000000000000..c88469da3c06 --- /dev/null +++ b/dev-db/opendbx/opendbx-1.3.10.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/opendbx/opendbx-1.3.10.ebuild,v 1.1 2008/06/18 21:18:08 swegener Exp $ + +inherit flag-o-matic eutils + +DESCRIPTION="OpenDBX - A database abstraction layer" +HOMEPAGE="http://www.linuxnetworks.de/doc/index.php/OpenDBX" +SRC_URI="http://www.linuxnetworks.de/opendbx/download/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="bindist firebird mysql oracle postgres sqlite sqlite3" + +DEPEND="mysql? ( virtual/mysql ) + postgres? ( virtual/postgresql-server ) + sqlite? ( <dev-db/sqlite-3 ) + sqlite3? ( =dev-db/sqlite-3* ) + oracle? ( dev-db/oracle-instantclient-basic ) + !bindist? ( firebird? ( dev-db/firebird ) )" +RDEPEND="${DEPEND}" + +pkg_setup() { + if ! ( use !bindist && use firebird || use mysql || use oracle || use postgres || use sqlite || use sqlite3 ) + then + ewarn "You should enable at least one of the following USE flags:" + ewarn "firebird, mysql, oracle, postgres, sqlite or sqlite3" + fi + + if use oracle && [[ ! -d ${ORACLE_HOME} ]] + then + die "Oracle support requested, but ORACLE_HOME not set to a valid directory!" + fi + + use mysql && append-cppflags -I/usr/include/mysql + use firebird && append-cppflags -I/opt/firebird/include + use oracle && append-ldflags -L${ORACLE_HOME}/lib +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-gcc-4.3.patch +} + +src_compile() { + local backends="" + + use !bindist && use firebird && backends="${backends} firebird" + use mysql && backends="${backends} mysql" + use oracle && backends="${backends} oracle" + use postgres && backends="${backends} pgsql" + use sqlite && backends="${backends} sqlite" + use sqlite3 && backends="${backends} sqlite3" + + econf --with-backends="${backends}" || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make install DESTDIR="${D}" || die "make install failed" + dodoc AUTHORS ChangeLog README +} |