| 1 |
# Copyright 1999-2013 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/daemons/daemons-1.1.8.ebuild,v 1.8 2012/10/28 18:08:44 armin76 Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
USE_RUBY="ruby18 ree18 ruby19 jruby" |
| 7 |
|
| 8 |
RUBY_FAKEGEM_EXTRADOC="Releases README TODO" |
| 9 |
RUBY_FAKEGEM_DOCDIR="html" |
| 10 |
|
| 11 |
RUBY_FAKEGEM_TASK_TEST="" |
| 12 |
|
| 13 |
inherit ruby-fakegem |
| 14 |
|
| 15 |
DESCRIPTION="Wrap existing ruby scripts to be run as a daemon" |
| 16 |
HOMEPAGE="http://daemons.rubyforge.org/" |
| 17 |
|
| 18 |
LICENSE="MIT" |
| 19 |
SLOT="0" |
| 20 |
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
| 21 |
IUSE="examples" |
| 22 |
|
| 23 |
all_ruby_install() { |
| 24 |
all_fakegem_install |
| 25 |
|
| 26 |
use examples || return |
| 27 |
|
| 28 |
insinto /usr/share/doc/${PF}/ |
| 29 |
doins -r examples |
| 30 |
} |