You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.2 KiB

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/adhearsion/adhearsion-1.2.3.ebuild,v 1.1 2011/11/20 09:07:49 graaff Exp $
EAPI=4
USE_RUBY="ruby18"
RUBY_FAKEGEM_TASK_TEST="spec"
RUBY_FAKEGEM_TASK_DOC="yard"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG EVENTS README.markdown"
RUBY_FAKEGEM_EXTRAINSTALL="app_generators"
inherit ruby-fakegem
DESCRIPTION="'Adhesion you can hear' for integrating VoIP"
HOMEPAGE="http://adhearsion.com"
IUSE=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64"
SRC_URI="https://github.com/adhearsion/adhearsion/tarball/v${PV} -> ${P}.tgz"
RUBY_S="adhearsion-adhearsion-*"
ruby_add_bdepend "doc? ( dev-ruby/yard )"
ruby_add_bdepend "test? ( >=dev-ruby/rspec-2.4.0:2 dev-ruby/flexmock )"
ruby_add_rdepend ">=dev-ruby/rubigen-1.5.6
>=dev-ruby/activesupport-2.1.0
dev-ruby/i18n
>=dev-ruby/log4r-1.0.5
>=dev-ruby/bundler-1.0.10
dev-ruby/pry
dev-ruby/rake"
all_ruby_prepare() {
rm Gemfile || die
sed -i -e '/reporter/ s:^:#:' Rakefile
}
each_ruby_test() {
SKIP_RCOV=true ${RUBY} -S rspec spec || die
}
all_ruby_install() {
all_fakegem_install
insinto /usr/share/doc/${PF}
doins -r examples || die
}