# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ IUSE="doc odbc xbase" inherit kde MY_P=${P/_/-} S=${WORKDIR}/${MY_P} DESCRIPTION="Rekall - a database frontend for MySQL, PostgreSQL and XBase" HOMEPAGE="http://www.rekallrevealed.org/" SRC_URI="http://www.rekallrevealed.org/packages/${MY_P}.tgz" LICENSE="GPL-2" KEYWORDS="x86" need-kde 3 newdepend ">=dev-lang/python-2.2.3-r5 mysql? ( >=dev-db/mysql-3.23.57-r1 ) postgres? ( >=dev-db/postgresql-7.3.4-r1 ) xbase? ( =dev-db/xbsql-0.11 )" src_compile() { myconf="$myconf --with-gui=kde" # --with-gui=qt is possible too, but untested # would need some ebuild changes use odbc \ && myconf="${myconf} --enable-odbc=yes --enable-iodbc=yes" \ || myconf="${myconf} --enable-odbc=no --enable-iodbc=no" #don't uncomment - breaks compilation! #use doc \ # && myconf="${myconf} --enable-docs=yes" \ # || myconf="${myconf} --enable-docs=no" cd ${S}/doc/rekall epatch ${FILESDIR}/doc-rekall-Makefile.am.diff epatch ${FILESDIR}/doc-rekall-Makefile.in.diff cd ${S} kde_src_compile }