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

Diff of /dev-db/tora/tora-2.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.4
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-db/tora/Attic/tora-2.0.0.ebuild,v 1.1 2008/12/27 22:37:30 dertobi123 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-db/tora/Attic/tora-2.0.0.ebuild,v 1.4 2009/06/25 21:06:31 dertobi123 Exp $
4 4
5EAPI=2 5EAPI=2
6 6
7inherit eutils kde-functions 7inherit eutils kde-functions
8 8
15LICENSE="GPL-2" 15LICENSE="GPL-2"
16KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" 16KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
17 17
18RDEPEND="${DEPEND}" 18RDEPEND="${DEPEND}"
19DEPEND="dev-lang/perl 19DEPEND="dev-lang/perl
20 x11-libs/qt-sql
20 mysql? ( x11-libs/qt-sql[mysql] ) 21 mysql? ( x11-libs/qt-sql[mysql] )
21 postgres? ( x11-libs/qt-sql[postgres] ) 22 postgres? ( x11-libs/qt-sql[postgres] )
22 >=x11-libs/qscintilla-2.1[qt4] 23 >=x11-libs/qscintilla-2.1[qt4]
23 oci8-instant-client? ( dev-db/oracle-instantclient-basic )" 24 oci8-instant-client? (
25 dev-db/oracle-instantclient-basic
26 dev-db/oracle-instantclient-sqlplus
27 )"
24 28
25pkg_setup() { 29pkg_setup() {
26 if ( use oracle || use oci8-instant-client ) && [ -z "$ORACLE_HOME" ] ; then 30 if ( use oracle || use oci8-instant-client ) && [ -z "$ORACLE_HOME" ] ; then
27 eerror "ORACLE_HOME variable is not set." 31 eerror "ORACLE_HOME variable is not set."
28 eerror 32 eerror
42 REALHOME="$HOME" 46 REALHOME="$HOME"
43 mkdir -p "$T"/fakehome/.kde 47 mkdir -p "$T"/fakehome/.kde
44 mkdir -p "$T"/fakehome/.qt 48 mkdir -p "$T"/fakehome/.qt
45 export HOME="$T/fakehome" 49 export HOME="$T/fakehome"
46 addwrite "${QTDIR}/etc/settings" 50 addwrite "${QTDIR}/etc/settings"
51
52 # Remove files generated with qt-4.4 moc
53 rm src/{moc_*.cpp,ui_*ui.h} || die "rm failed"
47 54
48 local myconf 55 local myconf
49 56
50 if use oracle; then 57 if use oracle; then
51 myconf="$myconf --with-oracle=${ORACLE_HOME}" 58 myconf="$myconf --with-oracle=${ORACLE_HOME}"

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20