# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" WX_GTK_VER="2.8" inherit eutils wxwidgets MY_P=FahMon-${PV} DESCRIPTION="wxGTK monitor for the folding@home client" HOMEPAGE="http://fahmon.net/" SRC_URI="http://fahmon.net/downloads/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="x11-libs/wxGTK:${WX_GTK_VER}" DEPEND="${RDEPEND}" RESTRICT="primaryuri" S="${WORKDIR}/${MY_P}" pkg_setup() { if built_with_use x11-libs/wxGTK debug ; then die "x11-libs/wxGTK must be built without the 'debug' useflag" fi } src_configure() { need-wxwidgets unicode econf --with-wx-config=${WX_CONFIG} || die "econf failed" } src_compile() { emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" }