1 |
# Copyright 1999-2011 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/kde-misc/magneto-kde/magneto-kde-1.0_rc37.ebuild,v 1.1 2011/08/11 11:33:08 lxnay Exp $ |
4 |
|
5 |
EAPI="3" |
6 |
PYTHON_DEPEND="2" |
7 |
inherit eutils python multilib |
8 |
|
9 |
DESCRIPTION="Entropy Package Manager notification applet KDE frontend" |
10 |
HOMEPAGE="http://www.sabayon.org" |
11 |
LICENSE="GPL-2" |
12 |
|
13 |
SLOT="0" |
14 |
KEYWORDS="~amd64 ~x86" |
15 |
IUSE="" |
16 |
|
17 |
SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2" |
18 |
S="${WORKDIR}/entropy-${PV}/magneto" |
19 |
|
20 |
RDEPEND="~app-misc/magneto-loader-${PV} |
21 |
kde-base/pykde4 |
22 |
dev-python/PyQt4[dbus]" |
23 |
DEPEND="" |
24 |
|
25 |
src_compile() { |
26 |
einfo "nothing to compile" |
27 |
} |
28 |
|
29 |
src_install() { |
30 |
emake DESTDIR="${D}" LIBDIR="usr/$(get_libdir)" magneto-kde-install || die "make install failed" |
31 |
} |
32 |
|
33 |
pkg_postinst() { |
34 |
python_mod_optimize "/usr/$(get_libdir)/entropy/magneto/magneto/kde" |
35 |
} |
36 |
|
37 |
pkg_postrm() { |
38 |
python_mod_cleanup "/usr/$(get_libdir)/entropy/magneto/magneto/kde" |
39 |
} |