View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/local/portage/x11-plugins/gkrellsun/gkrellsun-1.0.0.ebuild (-7 / +10 lines)
 Lines 4-10    Link Here 
inherit multilib
inherit multilib
IUSE="nls"
IUSE=""
DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times."
DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times."
HOMEPAGE="http://gkrellsun.sourceforge.net/"
HOMEPAGE="http://gkrellsun.sourceforge.net/"
SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz"
 Lines 13-27    Link Here 
LICENSE="GPL-2"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
DEPEND=">=app-admin/gkrellm-2.2
DEPEND="=app-admin/gkrellm-2*
	nls? (sys-devel/gettext)"
	>=media-libs/imlib-1.9.10-r1"
src_compile () {
src_compile() {
	use nls && myconf="$myconf enable_nls=1"
	cd ${S}/src20
	emake ${myconf}
	emake || die
}
}
src_install () {
src_install () {
	make DESTDIR="${D}" PREFIX="/usr" PLUGINDIR="${D}/usr/$(get_libdir)/gkrellm2/plugins" ${myconf} install
	dodoc README AUTHORS COPYING
	dodoc README AUTHORS COPYING
	cd ${S}/src20
	insinto /usr/$(get_libdir)/gkrellm2/plugins
	doins gkrellsun.so
}
}