summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-05-21 15:35:51 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-05-21 15:35:51 +0000
commite84b930690079fe99e2d678e82fdbdad7ca09c05 (patch)
tree801c95f46d5039ab0d01d6329eac84b8e0add367 /dev-db
parentamd64 stable, bug 312455 (diff)
downloadgentoo-2-e84b930690079fe99e2d678e82fdbdad7ca09c05.tar.gz
gentoo-2-e84b930690079fe99e2d678e82fdbdad7ca09c05.tar.bz2
gentoo-2-e84b930690079fe99e2d678e82fdbdad7ca09c05.zip
Version bump to latest release.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/tora/ChangeLog7
-rw-r--r--dev-db/tora/tora-2.1.2.ebuild70
2 files changed, 76 insertions, 1 deletions
diff --git a/dev-db/tora/ChangeLog b/dev-db/tora/ChangeLog
index 643edc2d860c..b46a20c809c6 100644
--- a/dev-db/tora/ChangeLog
+++ b/dev-db/tora/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/tora
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/tora/ChangeLog,v 1.84 2010/02/13 18:06:06 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/tora/ChangeLog,v 1.85 2010/05/21 15:35:51 scarabeus Exp $
+
+*tora-2.1.2 (21 May 2010)
+
+ 21 May 2010; Tomáš Chvátal <scarabeus@gentoo.org> +tora-2.1.2.ebuild:
+ Version bump to latest release.
13 Feb 2010; Raúl Porcel <armin76@gentoo.org> tora-2.1.1.ebuild:
alpha stable wrt #298855
diff --git a/dev-db/tora/tora-2.1.2.ebuild b/dev-db/tora/tora-2.1.2.ebuild
new file mode 100644
index 000000000000..71b6960eacdb
--- /dev/null
+++ b/dev-db/tora/tora-2.1.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/tora/tora-2.1.2.ebuild,v 1.1 2010/05/21 15:35:51 scarabeus Exp $
+
+EAPI=2
+
+inherit cmake-utils
+
+DESCRIPTION="TOra - Toolkit For Oracle"
+HOMEPAGE="http://tora.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+IUSE="debug mysql oracle oci8-instant-client postgres"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+
+RDEPEND="${DEPEND}"
+DEPEND="
+ x11-libs/qscintilla
+ x11-libs/qt-gui:4
+ x11-libs/qt-sql:4[mysql?,postgres?]
+ x11-libs/qt-xmlpatterns:4
+ oci8-instant-client? (
+ dev-db/oracle-instantclient-basic
+ dev-db/oracle-instantclient-sqlplus
+ )
+ postgres? ( virtual/postgresql-server )
+"
+
+pkg_setup() {
+ if ( use oracle || use oci8-instant-client ) && [ -z "$ORACLE_HOME" ] ; then
+ eerror "ORACLE_HOME variable is not set."
+ eerror
+ eerror "You must install Oracle >= 8i client for Linux in"
+ eerror "order to compile TOra with Oracle support."
+ eerror
+ eerror "Otherwise specify -oracle in your USE variable."
+ eerror
+ eerror "You can download the Oracle software from"
+ eerror "http://otn.oracle.com/software/content.html"
+ die
+ fi
+}
+
+src_prepare() {
+ sed -i \
+ -e "/COPYING/ d" \
+ CMakeLists.txt || die "Removal of COPYING file failed"
+}
+
+src_configure() {
+ local mycmakeargs=()
+ if use oracle || use oci8-instant-client ; then
+ mycmakeargs=(-DENABLE_ORACLE=ON)
+ else
+ mycmakeargs=(-DENABLE_ORACLE=OFF)
+ fi
+ mycmakeargs+=(
+ -DWANT_RPM=OFF
+ -DWANT_BUNDLE=OFF
+ -DWANT_BUNDLE_STANDALONE=OFF
+ -DWANT_INTERNAL_QSCINTILLA=OFF
+ $(cmake-utils_use_enable postgres PGSQL)
+ $(cmake-utils_use_want debug)
+ # path variables
+ -DTORA_DOC_DIR=share/doc/${PF}
+ )
+ cmake-utils_src_configure
+}