Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146497 - kde-misc/krecipes-1.0-beta1 version bump
Summary: kde-misc/krecipes-1.0-beta1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-05 20:59 UTC by Mike Gant
Modified: 2006-09-13 16:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gant 2006-09-05 20:59:52 UTC
I've created an ebuild for the 1.0-beta1 version of krecipes. The new ebuild is below and is saved as kde-misc/krecipes-1.0.ebuild.


# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/krecipes/krecipes-1.0.ebuild,v 1.6 2006/04/10 00:46:37 cryos Exp $

inherit kde

MY_PV=${P}-beta1
DESCRIPTION="A KDE Recipe Tool"
HOMEPAGE="http://krecipes.sourceforge.net"
SRC_URI="mirror://sourceforge/krecipes/${MY_PV}.tar.gz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="mysql postgres sqlite"

DEPEND="sqlite? ( dev-db/sqlite )
                !sqlite? ( !mysql? ( !postgres? ( dev-db/sqlite ) ) )"
RDEPEND="${DEPEND}
        mysql? ( dev-db/mysql )
        postgres? ( dev-db/postgresql )"

need-kde 3

src_unpack() {
        unpack ${MY_PV}.tar.gz
}

src_compile() {
        if ! use sqlite && ! use mysql && ! use postgres; then
                myconf="--with-sqlite"
        else
                myconf="$(use_with sqlite) $(use_with mysql) $(use_with postgres postgresql)"
        fi

        S=${WORKDIR}/${MY_PV}

        kde_src_compile
}
Comment 1 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-13 15:16:45 UTC
I'll pick up this one, however I'll use my own ebuild. The ebuild supplied does not follow our usual conventions.
Comment 2 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-13 16:25:33 UTC
Fixed in CVS. Sources in a hood near you.