|
|
| |
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" |
|
|
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 |
} | } |