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

Contents of /dev-db/tora/tora-1.3.11-r1.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, 7 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-r1.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_unpack() {
33 unpack ${PN}-alpha-${PV}.tar.gz
34 cd ${P}
35 epatch ${FILESDIR}/tora-index-segfault.patch
36 }
37
38 src_compile() {
39 local myconf
40
41 use kde \
42 && myconf="$myconf --with-kde" \
43 || myconf="$myconf --without-kde"
44 use oci8 || myconf="$myconf --without-oracle"
45
46 ./configure --prefix=/usr --with-mono $myconf || die "conf failed"
47 emake || die "emake failed"
48 }
49
50 src_install() {
51 dodir ${D}/usr/bin
52 einstall ROOT=${D}
53 dodoc LICENSE.txt BUGS INSTALL NEWS README TODO
54 }

  ViewVC Help
Powered by ViewVC 1.1.20