| 1 |
# Copyright 1999-2012 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_rc87.ebuild,v 1.1 2012/02/12 07:29:48 lxnay Exp $ |
| 4 |
|
| 5 |
EAPI="3" |
| 6 |
PYTHON_DEPEND="2" |
| 7 |
inherit eutils python |
| 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 ~arm ~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/lib" magneto-kde-install || die "make install failed" |
| 31 |
} |
| 32 |
|
| 33 |
pkg_postinst() { |
| 34 |
python_mod_optimize "/usr/lib/entropy/magneto/magneto/kde" |
| 35 |
} |
| 36 |
|
| 37 |
pkg_postrm() { |
| 38 |
python_mod_cleanup "/usr/lib/entropy/magneto/magneto/kde" |
| 39 |
} |