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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Apr 4 03:10:14 2004 UTC (16 years, 3 months ago) by rizzo
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Removing obsolete files

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/dev-db/tora/tora-1.3.12.ebuild,v 1.5 2004/01/22 21:57:03 rizzo Exp $
4
5 IUSE="kde oci8"
6 DESCRIPTION="TOra - Toolkit For Oracle"
7 HOMEPAGE="http://www.globecom.se/tora/"
8 SRC_URI="mirror://sourceforge/${PN}/${PN}-alpha-${PV}.tar.gz"
9
10 SLOT="0"
11 LICENSE="GPL-2"
12 KEYWORDS="x86 ~ppc ~sparc ~alpha ~hppa ~amd64"
13
14 DEPEND=">=x11-libs/qt-3.0.0
15 dev-lang/perl
16 kde? ( >=kde-base/kdelibs-3.1 )"
17
18 pkg_setup() {
19 if [ "`use oci8`" -a ! $ORACLE_HOME ] ; then
20 ewarn "ORACLE_HOME variable is not set."
21 ewarn ""
22 ewarn "You must install Oracle >= 8i client for Linux in"
23 ewarn "order to compile TOra with Oracle support."
24 ewarn ""
25 ewarn "Otherwise specify -oci8 in your USE variable."
26 ewarn ""
27 ewarn "You can download the Oracle software from"
28 ewarn "http://otn.oracle.com/software/content.html"
29 die
30 fi
31 }
32
33 src_compile() {
34 local myconf
35
36 use kde \
37 && myconf="$myconf --with-kde" \
38 || myconf="$myconf --without-kde"
39 use oci8 || myconf="$myconf --without-oracle"
40
41 ./configure --prefix=/usr --with-mono $myconf || die "conf failed"
42 emake || die "emake failed"
43 }
44
45 src_install() {
46 dodir ${D}/usr/bin
47 einstall ROOT=${D}
48 dodoc LICENSE.txt BUGS INSTALL NEWS README TODO
49 }

  ViewVC Help
Powered by ViewVC 1.1.20