/[gentoo-x86]/dev-db/tora/tora-1.3.13.ebuild
Gentoo

Contents of /dev-db/tora/tora-1.3.13.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Fri Oct 29 16:13:09 2004 UTC (15 years, 8 months ago) by rizzo
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
New revision with some patches for triggers and invalid objects.  Pruning old versions

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/tora/tora-1.3.13.ebuild,v 1.8 2004/10/21 23:40:43 mr_bones_ Exp $
4
5 inherit debug
6
7 IUSE="kde oci8 debug"
8 DESCRIPTION="TOra - Toolkit For Oracle"
9 HOMEPAGE="http://www.globecom.se/tora/"
10 SRC_URI="mirror://sourceforge/${PN}/${PN}-alpha-${PV}.tar.gz"
11
12 SLOT="0"
13 LICENSE="GPL-2"
14 KEYWORDS="x86 ~ppc ~sparc ~alpha ~hppa ~amd64"
15
16 DEPEND=">=x11-libs/qt-3.0.0
17 dev-lang/perl
18 kde? ( >=kde-base/kdelibs-3.1 )"
19
20 pkg_setup() {
21 if use oci8 && [ -z "$ORACLE_HOME" ] ; then
22 eerror "ORACLE_HOME variable is not set."
23 eerror
24 eerror "You must install Oracle >= 8i client for Linux in"
25 eerror "order to compile TOra with Oracle support."
26 eerror
27 eerror "Otherwise specify -oci8 in your USE variable."
28 eerror
29 eerror "You can download the Oracle software from"
30 eerror "http://otn.oracle.com/software/content.html"
31 die
32 fi
33 }
34
35 src_compile() {
36
37 # Need to fake out Qt or we'll get sandbox problems
38 REALHOME="$HOME"
39 mkdir -p $T/fakehome/.kde
40 mkdir -p $T/fakehome/.qt
41 export HOME="$T/fakehome"
42 addwrite "${QTDIR}/etc/settings"
43
44 local myconf
45 myconf="--prefix=/usr --with-mono"
46
47 use kde \
48 && myconf="$myconf --with-kde" \
49 || myconf="$myconf --without-kde"
50 use oci8 || myconf="$myconf --without-oracle"
51
52 ./configure $myconf || die "configure failed"
53 emake || die "emake failed"
54 }
55
56 src_install() {
57 #dodir ${D}/usr/bin
58 einstall ROOT=${D}
59 dodoc LICENSE.txt BUGS INSTALL NEWS README TODO
60 }

  ViewVC Help
Powered by ViewVC 1.1.20