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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Dec 10 07:30:42 2003 UTC (16 years, 6 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
keywords blah

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

  ViewVC Help
Powered by ViewVC 1.1.20