# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-radio/gpredict/gpredict-1.1.ebuild,v 1.4 2011/03/08 05:28:15 nirbheek Exp $ EAPI=2 inherit autotools eutils DESCRIPTION="Real-time satellite tracking and orbit prediction application" HOMEPAGE="http://gpredict.oz9aec.net" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc x86" IUSE="" RDEPEND=">=dev-libs/glib-2.16.0:2 >=x11-libs/gtk+-2.12:2 >=x11-libs/goocanvas-0.9:0 net-misc/curl" DEPEND="${RDEPEND} dev-util/pkgconfig sys-devel/gettext" src_prepare() { # remove wrong doc location epatch "${FILESDIR}/${P}-doc.patch" eautoreconf } src_install() { emake DESTDIR="${D}" install || die "emake install failed" make_desktop_entry ${PN} "GPredict" "/usr/share/pixmaps/gpredict/icons/gpredict-icon.png" Science # provide a link to GPL license to allow the program to show it (see # Help->license menu entry) dosym /usr/portage/licenses/GPL-2 /usr/share/${PN}/COPYING || die "dosym died" dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc died" }