/[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.3
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.3 2009/05/04 16:51:46 dertobi123 Exp $
4 4
5EAPI=2 5EAPI=2
6 6
7inherit eutils kde-functions 7inherit eutils kde-functions
8 8
18RDEPEND="${DEPEND}" 18RDEPEND="${DEPEND}"
19DEPEND="dev-lang/perl 19DEPEND="dev-lang/perl
20 mysql? ( x11-libs/qt-sql[mysql] ) 20 mysql? ( x11-libs/qt-sql[mysql] )
21 postgres? ( x11-libs/qt-sql[postgres] ) 21 postgres? ( x11-libs/qt-sql[postgres] )
22 >=x11-libs/qscintilla-2.1[qt4] 22 >=x11-libs/qscintilla-2.1[qt4]
23 oci8-instant-client? ( dev-db/oracle-instantclient-basic )" 23 oci8-instant-client? (
24 dev-db/oracle-instantclient-basic
25 dev-db/oracle-instantclient-sqlplus
26 )"
24 27
25pkg_setup() { 28pkg_setup() {
26 if ( use oracle || use oci8-instant-client ) && [ -z "$ORACLE_HOME" ] ; then 29 if ( use oracle || use oci8-instant-client ) && [ -z "$ORACLE_HOME" ] ; then
27 eerror "ORACLE_HOME variable is not set." 30 eerror "ORACLE_HOME variable is not set."
28 eerror 31 eerror
42 REALHOME="$HOME" 45 REALHOME="$HOME"
43 mkdir -p "$T"/fakehome/.kde 46 mkdir -p "$T"/fakehome/.kde
44 mkdir -p "$T"/fakehome/.qt 47 mkdir -p "$T"/fakehome/.qt
45 export HOME="$T/fakehome" 48 export HOME="$T/fakehome"
46 addwrite "${QTDIR}/etc/settings" 49 addwrite "${QTDIR}/etc/settings"
50
51 # Remove files generated with qt-4.4 moc
52 rm src/{moc_*.cpp,ui_*ui.h} || die "rm failed"
47 53
48 local myconf 54 local myconf
49 55
50 if use oracle; then 56 if use oracle; then
51 myconf="$myconf --with-oracle=${ORACLE_HOME}" 57 myconf="$myconf --with-oracle=${ORACLE_HOME}"

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

  ViewVC Help
Powered by ViewVC 1.1.20