diff options
Diffstat (limited to 'kde-misc/krecipes/krecipes-0.7.1.ebuild')
-rw-r--r-- | kde-misc/krecipes/krecipes-0.7.1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/kde-misc/krecipes/krecipes-0.7.1.ebuild b/kde-misc/krecipes/krecipes-0.7.1.ebuild new file mode 100644 index 000000000000..54dd6e286f89 --- /dev/null +++ b/kde-misc/krecipes/krecipes-0.7.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/krecipes/krecipes-0.7.1.ebuild,v 1.1 2005/03/04 14:07:33 greg_g Exp $ + +inherit kde + +DESCRIPTION="A KDE Recipe Tool" +HOMEPAGE="http://krecipes.sourceforge.net" +SRC_URI="mirror://sourceforge/krecipes/${PN}_beta_${PV}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86 ~sparc ~amd64" +IUSE="mysql postgres sqlite" + +DEPEND="sqlite? ( dev-db/sqlite )" +RDEPEND="${DEPEND} + mysql? ( dev-db/mysql ) + postgres? ( dev-db/postgresql )" + +need-kde 3 + +pkg_setup() { + if ! use sqlite && ! use mysql && ! use postgres; then + eerror krecipes needs either SQLite, MySQL or PostgreSQL to work, + eerror please try again with USE=\"sqlite\", USE=\"mysql\" or USE=\"postgres\". + die + fi +} + +src_compile() { + myconf="$(use_with sqlite) $(use_with mysql) $(use_with postgres postgresql)" + + kde_src_compile +} |