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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (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.6: +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.8.ebuild,v 1.6 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="http://unc.dl.sourceforge.net/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 mysql? ( >=dev-db/mysql-3.23 )
15 postgres? ( >=dev-db/postgresql-7.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 mysql \
39 && myconf="$myconf" \
40 || myconf="$myconf --without-mysql"
41 # use postgres && myconf="$myconf" \
42 # || myconf="$myconf --without-postgres"
43 use oci8 \
44 && myconf="$myconf" \
45 || myconf="$myconf --without-oracle"
46
47 #patch -p0 < ${FILESDIR}/tora-${PV}.patch
48
49 ./configure \
50 --prefix=/usr \
51 --with-mono \
52 $myconf || die "configure failed"
53 emake || die "emake failed"
54 }
55
56 src_install() {
57 dodir ${D}/usr/bin
58 make \
59 ROOT=${D} \
60 install || die "make install failed"
61 }

  ViewVC Help
Powered by ViewVC 1.1.20