# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellmoon/gkrellmoon-0.6-r1.ebuild,v 1.5 2009/06/25 17:43:51 armin76 Exp $ EAPI="5" inherit gkrellm-plugin eutils IUSE="" DESCRIPTION="A GKrellM2 plugin of the famous wmMoonClock dockapp" SRC_URI="mirror://sourceforge/gkrellmoon/${P}.tar.gz" HOMEPAGE="http://gkrellmoon.sourceforge.net/" DEPEND="media-libs/imlib2" SLOT="2" LICENSE="GPL-2" KEYWORDS="alpha amd64 ppc sparc x86" RDEPEND="app-admin/gkrellm[X]" DEPEND="${RDEPEND}" src_prepare() { sed -i -e '/^#include /a#include ' CalcEphem.h || die epatch "${FILESDIR}"/${PN}-makefile.patch } src_compile() { emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" }