blob: 760ab5f027e5d52d8144312976dfe834825afa74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/sulfur/sulfur-1.0_rc104.ebuild,v 1.1 2012/08/25 05:17:03 lxnay Exp $
EAPI="3"
PYTHON_DEPEND="2"
inherit eutils gnome2-utils fdo-mime python
DESCRIPTION="Sulfur, the Entropy Package Manager Store"
HOMEPAGE="http://www.sabayon.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
SRC_URI="mirror://sabayon/app-admin/sulfur-${PV}.tar.bz2"
RDEPEND="dev-python/pygtk:2
>=sys-apps/entropy-${PV}
sys-apps/file[python]
sys-devel/gettext
x11-libs/vte:0[python]
x11-misc/xdg-utils"
DEPEND="sys-devel/gettext"
src_compile() {
emake || die "make failed"
}
src_install() {
emake DESTDIR="${D}" LIBDIR="usr/lib" install || die "make install failed"
dodir /etc/gconf/schemas
insinto /etc/gconf/schemas
doins "${S}/misc/entropy-handler.schemas"
}
pkg_postinst() {
fdo-mime_mime_database_update
fdo-mime_desktop_database_update
gnome2_gconf_savelist
gnome2_gconf_install
python_mod_optimize "/usr/lib/entropy/${PN}"
}
pkg_postrm() {
python_mod_cleanup "/usr/lib/entropy/${PN}"
gnome2_gconf_savelist
gnome2_gconf_uninstall
}
|