# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="The KontrollerLab is a tool which can be used for developing microcontroller software." HOMEPAGE="http://www.cadmaniac.org/projectMain.php?projectName=kontrollerlab" SRC_URI="mirror://sourceforge/kontrollerlab/${P}.tar.gz" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="kde? ( || ( kde-base/konqueror kde-base/kdebase ) ) " RDEPEND="${DEPEND}" src_compile() { myconf="--prefix=`kde-config --prefix` --without-arts" econf $myconf || die "econf failed" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" }