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