# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Megatunix Is a Tuning Program for the Megasquirt Engine Control Unit from http://www.megasquirt.info" HOMEPAGE="http://megatunix.sourceforge.net/" SRC_URI="mirror://sourceforge/megatunix/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 amd64" IUSE="debug" DEPEND=">=x11-libs/gtk+-2.0 >=x11-libs/gtkglext-1.0 >=x11-base/xorg-x11 >=gnome-base/libglade-2.0" #DEPEND="RDEPEND" S=${WORKDIR}/${P} src_unpack() { if [ "${A}" != "" ]; then unpack ${A} fi } src_compile() { econf \ $(use_enable debug) \ || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR=${D} install || die }