1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit autotools eutils
7 MY_P="${PN}-${PV/_beta/b}"
9 DESCRIPTION="A tool for tracking amateur radio satellites"
10 HOMEPAGE="http://gpredict.oz9aec.net"
11 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
15 KEYWORDS="~amd64 ~ppc ~x86"
18 RDEPEND=">=dev-libs/glib-2.16.0
20 >=x11-libs/goocanvas-0.9
32 # remove wrong doc location
33 epatch "${FILESDIR}/${PN}-1.0_beta2-doc.patch"
39 emake DESTDIR="${D}" install || die "emake install failed"
40 make_desktop_entry ${PN} "GPredict" "/usr/share/pixmaps/gpredict/icons/gpredict-icon.png" Science
41 # provide a link to GPL license to allow the program to show it (see
42 # Help->license menu entry)
43 dosym /usr/portage/licenses/GPL-2 /usr/share/${PN}/COPYING || die "dosym died"
44 dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc died"