summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/daemons')
-rw-r--r--dev-ruby/daemons/ChangeLog7
-rw-r--r--dev-ruby/daemons/daemons-1.0.10-r1.ebuild33
2 files changed, 39 insertions, 1 deletions
diff --git a/dev-ruby/daemons/ChangeLog b/dev-ruby/daemons/ChangeLog
index e883aa5cc846..fa3578a6e129 100644
--- a/dev-ruby/daemons/ChangeLog
+++ b/dev-ruby/daemons/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/daemons
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/daemons/ChangeLog,v 1.39 2009/12/09 17:38:37 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/daemons/ChangeLog,v 1.40 2009/12/27 17:43:28 a3li Exp $
+
+*daemons-1.0.10-r1 (27 Dec 2009)
+
+ 27 Dec 2009; Alex Legler <a3li@gentoo.org> +daemons-1.0.10-r1.ebuild:
+ Revbump, migrating to ruby-fakegem. Tested with ruby18 and ruby19.
09 Dec 2009; Brent Baude <ranger@gentoo.org> daemons-1.0.10.ebuild:
Marking daemons-1.0.10 ppc64 for bug 240375
diff --git a/dev-ruby/daemons/daemons-1.0.10-r1.ebuild b/dev-ruby/daemons/daemons-1.0.10-r1.ebuild
new file mode 100644
index 000000000000..204ab9ea0c6b
--- /dev/null
+++ b/dev-ruby/daemons/daemons-1.0.10-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/daemons/daemons-1.0.10-r1.ebuild,v 1.1 2009/12/27 17:43:28 a3li Exp $
+
+EAPI="2"
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_EXTRADOC="Releases README TODO"
+RUBY_FAKEGEM_DOCDIR="html"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Wrap existing ruby scripts to be run as a daemon"
+HOMEPAGE="http://daemons.rubyforge.org/"
+SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
+
+LICENSE="|| ( Ruby GPL-2 ) MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="examples"
+
+all_ruby_prepare() {
+ sed -i -e '/manage_gems/s:^:#:' Rakefile || die "Fixing Rakefile failed"
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ use examples || return
+
+ insinto /usr/share/doc/${PF}/
+ doins -r examples || die "Failed to install examples"
+}