From ab2c1cc21e46847caab6f0b837f2ba444320e9e5 Mon Sep 17 00:00:00 2001 From: Don Seiler Date: Mon, 28 Jun 2004 18:27:20 +0000 Subject: Changing to 'oracle' USE flag and not using monolithic builds since it seems to work without them. --- dev-db/tora/ChangeLog | 8 ++++- dev-db/tora/Manifest | 4 ++- dev-db/tora/files/digest-tora-1.3.13-r1 | 1 + dev-db/tora/tora-1.3.13-r1.ebuild | 60 +++++++++++++++++++++++++++++++++ 4 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 dev-db/tora/files/digest-tora-1.3.13-r1 create mode 100644 dev-db/tora/tora-1.3.13-r1.ebuild (limited to 'dev-db') diff --git a/dev-db/tora/ChangeLog b/dev-db/tora/ChangeLog index 2b7e2405b72c..e06ee33e2862 100644 --- a/dev-db/tora/ChangeLog +++ b/dev-db/tora/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for dev-db/tora # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/tora/ChangeLog,v 1.25 2004/06/24 22:02:02 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/tora/ChangeLog,v 1.26 2004/06/28 18:27:20 rizzo Exp $ + +*tora-1.3.13-r1 (28 Jun 2004) + + 28 Jun 2004; Don Seiler +tora-1.3.13-r1.ebuild: + Changing to 'oracle' USE flag and not using monolithic builds since it seems + to work without them. 10 Jun 2004; Don Seiler tora-1.3.13.ebuild: Fixing USE usage, thanks to agriffis and vapier for the science. diff --git a/dev-db/tora/Manifest b/dev-db/tora/Manifest index f60ea7847962..3e9549713bf5 100644 --- a/dev-db/tora/Manifest +++ b/dev-db/tora/Manifest @@ -1,4 +1,6 @@ -MD5 53af6a388da203d28bdb6f2b86a1ee6b tora-1.3.13.ebuild 1553 MD5 97158cb10fc2dc0d46b64be7b0395137 ChangeLog 3817 MD5 bda8803c4adc9cf0b308b71157891f05 metadata.xml 536 +MD5 c6b09ff109c14c0203a7b1e23ffb1070 tora-1.3.13-r1.ebuild 1470 +MD5 53af6a388da203d28bdb6f2b86a1ee6b tora-1.3.13.ebuild 1553 MD5 6e56617a37ef8382d8eda0609b63ea02 files/digest-tora-1.3.13 70 +MD5 6e56617a37ef8382d8eda0609b63ea02 files/digest-tora-1.3.13-r1 70 diff --git a/dev-db/tora/files/digest-tora-1.3.13-r1 b/dev-db/tora/files/digest-tora-1.3.13-r1 new file mode 100644 index 000000000000..3f048e6facc5 --- /dev/null +++ b/dev-db/tora/files/digest-tora-1.3.13-r1 @@ -0,0 +1 @@ +MD5 6dc6b22ad58e7baf6673e0f2e69b59ef tora-alpha-1.3.13.tar.gz 2487208 diff --git a/dev-db/tora/tora-1.3.13-r1.ebuild b/dev-db/tora/tora-1.3.13-r1.ebuild new file mode 100644 index 000000000000..9ad9c97f6ef2 --- /dev/null +++ b/dev-db/tora/tora-1.3.13-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/tora/tora-1.3.13-r1.ebuild,v 1.1 2004/06/28 18:27:20 rizzo Exp $ + +use debug && inherit debug + +IUSE="kde oracle debug" +DESCRIPTION="TOra - Toolkit For Oracle" +HOMEPAGE="http://www.globecom.se/tora/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-alpha-${PV}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64" + +DEPEND=">=x11-libs/qt-3.0.0 + dev-lang/perl + kde? ( >=kde-base/kdelibs-3.1 )" + +pkg_setup() { + if use oracle && [ -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_compile() { + + # Need to fake out Qt or we'll get sandbox problems + REALHOME="$HOME" + mkdir -p $T/fakehome/.kde + mkdir -p $T/fakehome/.qt + export HOME="$T/fakehome" + addwrite "${QTDIR}/etc/settings" + + local myconf + myconf="--prefix=/usr" + #myconf="$myconf --with-mono" + + use kde \ + && myconf="$myconf --with-kde" \ + || myconf="$myconf --without-kde" + use oracle || myconf="$myconf --without-oracle" + + ./configure $myconf || die "configure failed" + emake || die "emake failed" +} + +src_install() { + make install ROOT=${D} + dodoc LICENSE.txt BUGS INSTALL NEWS README TODO +} -- cgit v1.2.3-65-gdbad