/[gentoo-x86]/dev-ruby/ferret/ferret-0.11.8.4.ebuild
Gentoo

Contents of /dev-ruby/ferret/ferret-0.11.8.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Aug 16 14:19:27 2012 UTC (2 years, 3 months ago) by flameeyes
Branch: MAIN
Changes since 1.1: +9 -9 lines
Simplify; bump to EAPI 4; drop rake dependency for testing and add a dependency over the tets-unit virtual.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

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/ferret/ferret-0.11.8.4.ebuild,v 1.1 2012/08/16 03:44:08 flameeyes Exp $
4
5 EAPI=4
6
7 # ruby19 fails tests
8 USE_RUBY="ruby18 ree18"
9
10 RUBY_FAKEGEM_NAME="ferret"
11
12 RUBY_FAKEGEM_RECIPE_TEST="none"
13
14 RUBY_FAKEGEM_TASK_DOC="doc"
15 RUBY_FAKEGEM_DOCDIR="doc/api"
16
17 RUBY_FAKEGEM_EXTRADOC="CHANGELOG RELEASE_CHANGES RELEASE_NOTES README TODO TUTORIAL"
18
19 inherit multilib ruby-fakegem
20
21 MY_P="${P/ruby-/}"
22 DESCRIPTION="A ruby indexing/searching library"
23 HOMEPAGE="http://ferret.davebalmain.com/trac/"
24 LICENSE="MIT"
25 SLOT="0"
26 KEYWORDS="~amd64 ~x86"
27 IUSE=""
28
29 ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
30
31 each_ruby_configure() {
32 ${RUBY} -Cext extconf.rb || die
33 }
34
35 each_ruby_compile() {
36 emake -Cext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
37 cp ext/ferret_ext$(get_modname) lib/ || die
38 }
39
40 each_ruby_test() {
41 ${RUBY} -Ilib test/test_all.rb || die
42 }

  ViewVC Help
Powered by ViewVC 1.1.20