blob: 13454f50168f81fd3b4be4d842d39a7e707dbbee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="A tool for controlling amateur radios"
HOMEPAGE="http://groundstation.sourceforge.net/grig/"
SRC_URI="mirror://sourceforge/groundstation/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc"
EAPI="1"
IUSE="coverage +hardware"
DEPEND=">=dev-libs/glib-2.6
>=x11-libs/gtk+-2.6
>=media-libs/hamlib-1.2.5"
RDEPEND="${DEPEND}"
src_compile() {
local myconf
use hardware || myconf="${myconf} --disable-hardware"
econf $(use_enable coverage ) ${myconf}
emake || die "emake failed!"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
make_desktop_entry ${PN} "GRig" "/usr/share/pixmaps/grig/grig-logo.png" "Application;HamRadio"
}
|