Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
inherit multilib |
5 |
inherit multilib |
6 |
|
6 |
|
7 |
IUSE="nls" |
7 |
IUSE="" |
8 |
DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times." |
8 |
DESCRIPTION="A GKrellM plugin that shows sunrise and sunset times." |
9 |
HOMEPAGE="http://gkrellsun.sourceforge.net/" |
9 |
HOMEPAGE="http://gkrellsun.sourceforge.net/" |
10 |
SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz" |
10 |
SRC_URI="mirror://sourceforge/gkrellsun/${P}.tar.gz" |
Lines 13-27
Link Here
|
13 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
14 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" |
14 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" |
15 |
|
15 |
|
16 |
DEPEND=">=app-admin/gkrellm-2.2 |
16 |
DEPEND="=app-admin/gkrellm-2* |
17 |
nls? (sys-devel/gettext)" |
17 |
>=media-libs/imlib-1.9.10-r1" |
18 |
|
18 |
|
19 |
src_compile () { |
19 |
src_compile() { |
20 |
use nls && myconf="$myconf enable_nls=1" |
20 |
cd ${S}/src20 |
21 |
emake ${myconf} |
21 |
emake || die |
22 |
} |
22 |
} |
23 |
|
23 |
|
24 |
src_install () { |
24 |
src_install () { |
25 |
make DESTDIR="${D}" PREFIX="/usr" PLUGINDIR="${D}/usr/$(get_libdir)/gkrellm2/plugins" ${myconf} install |
|
|
26 |
dodoc README AUTHORS COPYING |
25 |
dodoc README AUTHORS COPYING |
|
|
26 |
|
27 |
cd ${S}/src20 |
28 |
insinto /usr/$(get_libdir)/gkrellm2/plugins |
29 |
doins gkrellsun.so |
27 |
} |
30 |
} |