View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/x11-plugins/gkrellsun/gkrellsun-1.0.0.ebuild (-10 / +7 lines)
 Lines 4-10    Link Here 
inherit multilib
inherit multilib
IUSE=""
IUSE="nls"
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-30    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*
DEPEND=">=app-admin/gkrellm-2.2
	>=media-libs/imlib-1.9.10-r1"
	nls? (sys-devel/gettext)"
src_compile() {
src_compile () {
	cd ${S}/src20
	use nls && myconf="$myconf enable_nls=1"
	emake || die
	emake ${myconf}
}
}
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
}
}