summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Erculiani <lxnay@gentoo.org>2012-07-11 18:37:57 +0000
committerFabio Erculiani <lxnay@gentoo.org>2012-07-11 18:37:57 +0000
commit125208bec6535fb836891e09ebc828233850399f (patch)
tree81bbeaf121bca208530ea270de6b073436fbf830 /sys-apps
parentversion bump (diff)
downloadgentoo-2-125208bec6535fb836891e09ebc828233850399f.tar.gz
gentoo-2-125208bec6535fb836891e09ebc828233850399f.tar.bz2
gentoo-2-125208bec6535fb836891e09ebc828233850399f.zip
new ebuild
(Portage version: 2.2.0_alpha104/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/rigo-daemon/ChangeLog10
-rw-r--r--sys-apps/rigo-daemon/metadata.xml11
-rw-r--r--sys-apps/rigo-daemon/rigo-daemon-1.0_rc124.ebuild49
3 files changed, 70 insertions, 0 deletions
diff --git a/sys-apps/rigo-daemon/ChangeLog b/sys-apps/rigo-daemon/ChangeLog
new file mode 100644
index 000000000000..bfe084d7d1db
--- /dev/null
+++ b/sys-apps/rigo-daemon/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-apps/rigo-daemon
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rigo-daemon/ChangeLog,v 1.1 2012/07/11 18:37:57 lxnay Exp $
+
+*rigo-daemon-1.0_rc124 (11 Jul 2012)
+
+ 11 Jul 2012; Fabio Erculiani <lxnay@gentoo.org>
+ +rigo-daemon-1.0_rc124.ebuild, +metadata.xml:
+ new ebuild
+
diff --git a/sys-apps/rigo-daemon/metadata.xml b/sys-apps/rigo-daemon/metadata.xml
new file mode 100644
index 000000000000..187f7a710efe
--- /dev/null
+++ b/sys-apps/rigo-daemon/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>lxnay@gentoo.org</email>
+ <name>Fabio Erculiani</name>
+ </maintainer>
+ <use>
+ </use>
+</pkgmetadata>
+
diff --git a/sys-apps/rigo-daemon/rigo-daemon-1.0_rc124.ebuild b/sys-apps/rigo-daemon/rigo-daemon-1.0_rc124.ebuild
new file mode 100644
index 000000000000..aaaa9179bd8f
--- /dev/null
+++ b/sys-apps/rigo-daemon/rigo-daemon-1.0_rc124.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rigo-daemon/rigo-daemon-1.0_rc124.ebuild,v 1.1 2012/07/11 18:37:57 lxnay Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+inherit eutils python
+
+MY_PN="RigoDaemon"
+DESCRIPTION="Entropy Client DBus Services, aka RigoDaemon"
+HOMEPAGE="http://www.sabayon.org"
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+SRC_URI="mirror://sabayon/sys-apps/entropy-${PV}.tar.bz2"
+
+S="${WORKDIR}/entropy-${PV}/rigo/${MY_PN}"
+
+DEPEND=""
+RDEPEND="dev-python/dbus-python
+ dev-python/pygobject:3
+ ~sys-apps/entropy-${PV}
+ sys-auth/polkit[introspection]
+ sys-devel/gettext"
+
+src_compile() {
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+}
+
+pkg_preinst() {
+ # ask RigoDaemon to shutdown, if running
+ # TODO: this will be removed in future
+ local shutdown_exec=${EROOT}/usr/lib/rigo/${MY_PN}/shutdown.py
+ [[ -x "${shutdown_exec}" ]] && "${shutdown_exec}"
+}
+
+pkg_postinst() {
+ python_mod_optimize "/usr/lib/rigo/${MY_PN}"
+}
+
+pkg_postrm() {
+ python_mod_cleanup "/usr/lib/rigo/${MY_PN}"
+}