summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Erculiani <lxnay@gentoo.org>2011-07-19 12:47:28 +0000
committerFabio Erculiani <lxnay@gentoo.org>2011-07-19 12:47:28 +0000
commitba80b0743a076ee6ccf7f1e1acb2d6fc774c2148 (patch)
treec3f918d67ce1ea6061034f8c87f9f3ea9c0af9c1 /app-admin/sulfur
parentVersion bump. (diff)
downloadgentoo-2-ba80b0743a076ee6ccf7f1e1acb2d6fc774c2148.tar.gz
gentoo-2-ba80b0743a076ee6ccf7f1e1acb2d6fc774c2148.tar.bz2
gentoo-2-ba80b0743a076ee6ccf7f1e1acb2d6fc774c2148.zip
new ebuild
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/sulfur')
-rw-r--r--app-admin/sulfur/ChangeLog10
-rw-r--r--app-admin/sulfur/metadata.xml12
-rw-r--r--app-admin/sulfur/sulfur-1.0_rc27.ebuild51
3 files changed, 73 insertions, 0 deletions
diff --git a/app-admin/sulfur/ChangeLog b/app-admin/sulfur/ChangeLog
new file mode 100644
index 000000000000..d8aaf01b551a
--- /dev/null
+++ b/app-admin/sulfur/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-admin/sulfur
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sulfur/ChangeLog,v 1.1 2011/07/19 12:47:28 lxnay Exp $
+
+*sulfur-1.0_rc27 (19 Jul 2011)
+
+ 19 Jul 2011; Fabio Erculiani <lxnay@gentoo.org> +sulfur-1.0_rc27.ebuild,
+ +metadata.xml:
+ new ebuild
+
diff --git a/app-admin/sulfur/metadata.xml b/app-admin/sulfur/metadata.xml
new file mode 100644
index 000000000000..32dc8aeaad49
--- /dev/null
+++ b/app-admin/sulfur/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>lxnay@gentoo.org</email>
+ <name>Fabio Erculiani</name>
+ </maintainer>
+ <use>
+ </use>
+</pkgmetadata>
+
diff --git a/app-admin/sulfur/sulfur-1.0_rc27.ebuild b/app-admin/sulfur/sulfur-1.0_rc27.ebuild
new file mode 100644
index 000000000000..e38785e32a62
--- /dev/null
+++ b/app-admin/sulfur/sulfur-1.0_rc27.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_rc27.ebuild,v 1.1 2011/07/19 12:47:28 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/$(get_libdir)" 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/$(get_libdir)/entropy/${PN}"
+}
+
+pkg_postrm() {
+ python_mod_cleanup "/usr/$(get_libdir)/entropy/${PN}"
+ gnome2_gconf_savelist
+ gnome2_gconf_uninstall
+}