| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/listen/listen-0.4.7.ebuild,v 1.2 2012/08/14 03:56:17 flameeyes Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
USE_RUBY="ruby18 ruby19 ree18 jruby" |
| 8 |
|
| 9 |
RUBY_FAKEGEM_RECIPE_TEST="rspec" |
| 10 |
|
| 11 |
RUBY_FAKEGEM_TASK_DOC="" |
| 12 |
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
| 13 |
|
| 14 |
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
| 15 |
|
| 16 |
inherit ruby-fakegem |
| 17 |
|
| 18 |
DESCRIPTION="Listens to file modifications and notifies you about the changes." |
| 19 |
HOMEPAGE="https://github.com/guard/listen" |
| 20 |
SRC_URI="https://github.com/guard/listen/tarball/v${PV} -> ${P}-git.tgz" |
| 21 |
RUBY_S="guard-listen-*" |
| 22 |
|
| 23 |
LICENSE="MIT" |
| 24 |
SLOT="0" |
| 25 |
KEYWORDS="~amd64" |
| 26 |
IUSE="" |
| 27 |
|
| 28 |
ruby_add_rdepend ">=dev-ruby/rb-inotify-0.8.8" |
| 29 |
|
| 30 |
all_ruby_prepare() { |
| 31 |
# On Gentoo Linux we only support inotify. |
| 32 |
sed -i -e '/rb-fsevent/d' -e '/rb-fchange/d' ${RUBY_FAKEGEM_GEMSPEC} || die |
| 33 |
} |