# 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/megatunix-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="debug" DEPEND="virtual/x11 >=x11-libs/gtk+-2.0 >=x11-libs/gtkglext-1.0 >=gnome-base/libglade-2.0" src_compile() { econf $(use_enable debug) || die "econf failed!" emake || die "emake failed" } src_install() { make DESTDIR="${D}" install || die "install failed!" }