diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2011-08-23 10:07:17 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2011-08-23 10:07:17 +0000 |
commit | 794967bd45ecbdee69b4d6d5ee7a15be2ab5a1b9 (patch) | |
tree | 6fee3f873dad3f2e0619f1d240adfae1a6896cdc /app-admin/sulfur/sulfur-1.0_rc43.ebuild | |
parent | fix src_install, remove rm -r (diff) | |
download | gentoo-2-794967bd45ecbdee69b4d6d5ee7a15be2ab5a1b9.tar.gz gentoo-2-794967bd45ecbdee69b4d6d5ee7a15be2ab5a1b9.tar.bz2 gentoo-2-794967bd45ecbdee69b4d6d5ee7a15be2ab5a1b9.zip |
version bump
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/sulfur/sulfur-1.0_rc43.ebuild')
-rw-r--r-- | app-admin/sulfur/sulfur-1.0_rc43.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-admin/sulfur/sulfur-1.0_rc43.ebuild b/app-admin/sulfur/sulfur-1.0_rc43.ebuild new file mode 100644 index 000000000000..580c790708d5 --- /dev/null +++ b/app-admin/sulfur/sulfur-1.0_rc43.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sulfur/sulfur-1.0_rc43.ebuild,v 1.1 2011/08/23 10:07:17 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 ~x86" +IUSE="" + +SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2" +S="${WORKDIR}/entropy-${PV}/sulfur" + +RDEPEND=">=dev-python/pygtk-2.12.1-r2 + ~sys-apps/entropy-${PV} + sys-apps/file[python] + sys-devel/gettext + >=x11-libs/vte-0.12.2[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 +} |