1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools eutils
8 DESCRIPTION="A tool for controlling amateur radios"
9 HOMEPAGE="http://groundstation.sourceforge.net/grig/"
10 SRC_URI="mirror://sourceforge/groundstation/${P}.tar.gz"
14 KEYWORDS="~amd64 ~ppc ~x86"
17 DEPEND=">=dev-libs/glib-2.6
19 >=media-libs/hamlib-1.2.5"
25 #patch to support old GtkTooltips above gtk+-2.12
26 epatch "${FILESDIR}/${P}-Tooltip.patch"
31 econf $(use_enable hardware )
32 emake || die "emake failed!"
36 emake DESTDIR="${D}" install || die "emake install failed"
37 make_desktop_entry ${PN} "GRig" "/usr/share/pixmaps/grig/grig-logo.png" "Application;HamRadio"
38 # make document installation more Gentoo like
39 rm -rf "${D}/usr/share/grig" || die "cleanup docs failed"
40 dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"