diff options
author | Sven Wegener <swegener@gentoo.org> | 2007-07-22 12:01:51 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2007-07-22 12:01:51 +0000 |
commit | 69b2e9579d90edec6799cf8fb2a382c788981eb1 (patch) | |
tree | 381481c79f439eef948bf0ebafe99551e0d1333f /dev-db | |
parent | Marked stable on amd64 as per bug 186180. (diff) | |
download | gentoo-2-69b2e9579d90edec6799cf8fb2a382c788981eb1.tar.gz gentoo-2-69b2e9579d90edec6799cf8fb2a382c788981eb1.tar.bz2 gentoo-2-69b2e9579d90edec6799cf8fb2a382c788981eb1.zip |
Version bump, development release. Added oracle and firebird support.
(Portage version: 7330-svn)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/opendbx/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/opendbx/files/digest-opendbx-1.3.3 | 3 | ||||
-rw-r--r-- | dev-db/opendbx/opendbx-1.3.3.ebuild | 57 |
3 files changed, 66 insertions, 1 deletions
diff --git a/dev-db/opendbx/ChangeLog b/dev-db/opendbx/ChangeLog index 8f2c2eda3098..7b5d08d46339 100644 --- a/dev-db/opendbx/ChangeLog +++ b/dev-db/opendbx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/opendbx # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/opendbx/ChangeLog,v 1.7 2007/07/07 11:53:25 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/opendbx/ChangeLog,v 1.8 2007/07/22 12:01:51 swegener Exp $ + +*opendbx-1.3.3 (22 Jul 2007) + + 22 Jul 2007; Sven Wegener <swegener@gentoo.org> +opendbx-1.3.3.ebuild: + Version bump, development release. Added oracle and firebird support. *opendbx-1.3.2 (07 Jul 2007) diff --git a/dev-db/opendbx/files/digest-opendbx-1.3.3 b/dev-db/opendbx/files/digest-opendbx-1.3.3 new file mode 100644 index 000000000000..34fe52075b19 --- /dev/null +++ b/dev-db/opendbx/files/digest-opendbx-1.3.3 @@ -0,0 +1,3 @@ +MD5 e2a5e466af8cb222674cc3821333eb08 opendbx-1.3.3.tar.gz 503824 +RMD160 a6c130c4ed491d84a7c9c694a895b5732fdc6adb opendbx-1.3.3.tar.gz 503824 +SHA256 62835cc447e7fd1b468acef12b7d7c46572edd6603673439504a805d1f0fa06f opendbx-1.3.3.tar.gz 503824 diff --git a/dev-db/opendbx/opendbx-1.3.3.ebuild b/dev-db/opendbx/opendbx-1.3.3.ebuild new file mode 100644 index 000000000000..d0f651084186 --- /dev/null +++ b/dev-db/opendbx/opendbx-1.3.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/opendbx/opendbx-1.3.3.ebuild,v 1.1 2007/07/22 12:01:51 swegener Exp $ + +inherit flag-o-matic + +DESCRIPTION="OpenDBX - A database abstraction layer" +HOMEPAGE="http://www.linuxnetworks.de/opendbx/" +SRC_URI="http://www.linuxnetworks.de/opendbx/download/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="firebird mysql oracle postgres sqlite sqlite3" + +DEPEND="mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql ) + sqlite? ( <dev-db/sqlite-3 ) + sqlite3? ( =dev-db/sqlite-3* ) + oracle? ( dev-db/oracle-instantclient-basic ) + firebird? ( dev-db/firebird )" +RDEPEND="${DEPEND}" + +pkg_setup() { + if ! ( use firebird || use mysql || use oracle || use postgres || use sqlite || use sqlite3 ) + then + die "Need at least one of firebird, mysql, oracle, postgres, sqlite and sqlite3 activated!" + 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_compile() { + local backends="" + + 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 +} |