diff options
Diffstat (limited to 'dev-db/rekall/rekall-2.2.3-r1.ebuild')
-rw-r--r-- | dev-db/rekall/rekall-2.2.3-r1.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-db/rekall/rekall-2.2.3-r1.ebuild b/dev-db/rekall/rekall-2.2.3-r1.ebuild new file mode 100644 index 000000000000..8f001273ae3a --- /dev/null +++ b/dev-db/rekall/rekall-2.2.3-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/rekall/rekall-2.2.3-r1.ebuild,v 1.1 2004/12/17 22:41:09 carlo Exp $ + +inherit kde + +DESCRIPTION="Rekall - a database frontend for MySQL, PostgreSQL and XBase" +HOMEPAGE="http://www.rekallrevealed.org/" +SRC_URI="http://www.rekallrevealed.org/packages/${P}-2.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc" +IUSE="mysql odbc postgres xbase" + +DEPEND="sys-apps/sed + virtual/python + mysql? ( >=dev-db/mysql-3.23.57-r1 ) + postgres? ( >=dev-db/postgresql-7.3.4-r1 ) + xbase? ( =dev-db/xbsql-0.11 )" +RDEPEND="virtual/python + mysql? ( >=dev-db/mysql-3.23.57-r1 ) + postgres? ( >=dev-db/postgresql-7.3.4-r1 ) + xbase? ( =dev-db/xbsql-0.11 )" +need-kde 3 + +src_unpack() { + kde_src_unpack + sed -i -e 's/$(LN_S) $(kde_libs_htmldir)\/$(KDE_LANG)\/common/$(LN_S) common/' ${S}/doc/rekall/Makefile.in +} + +src_compile() { + myconf="--with-gui=kde \ + `use_enable mysql` \ + `use_enable postgres pgsql` \ + `use_enable xbase` \ + `use_enable odbc` \ + `use_enable odbc iodbc`" + kde_src_compile +} + +src_install() { + kde_src_install + if use postgres; then + cd ${D}/usr/lib + mv libkbase_driver_pgsql.so libkbase_driver_pgsql.so.0.0.0 + ln -s libkbase_driver_pgsql.so.0.0.0 libkbase_driver_pgsql.so.0 + ln -s libkbase_driver_pgsql.so.0.0.0 libkbase_driver_pgsql.so + fi +} |