/[gentoo-x86]/dev-ruby/oniguruma/oniguruma-1.1.0-r2.ebuild
Gentoo

Contents of /dev-ruby/oniguruma/oniguruma-1.1.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Apr 18 17:09:05 2014 UTC (8 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
dev-ruby/oniguruma removal. Supports ruby-1.8 only See bug #434064.

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/oniguruma/oniguruma-1.1.0-r2.ebuild,v 1.1 2010/06/05 10:59:26 graaff Exp $
4
5 EAPI="2"
6 USE_RUBY="ruby18"
7
8 RUBY_FAKEGEM_TASK_DOC="docs"
9 RUBY_FAKEGEM_DOCDIR="doc"
10
11 RUBY_FAKEGEM_EXTRADOC="History.txt README.txt Syntax.txt"
12
13 inherit ruby-fakegem
14
15 DESCRIPTION="Ruby bindings to the Oniguruma"
16 HOMEPAGE="http://oniguruma.rubyforge.org/"
17
18 LICENSE="BSD-2"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
21 IUSE=""
22
23 DEPEND="${DEPEND} dev-libs/oniguruma"
24 RDEPEND="${RDEPEND} dev-libs/oniguruma"
25
26 RUBY_PATCHES=( "${P}-unmonkey.patch" )
27
28 ruby_add_bdepend "
29 doc? ( dev-ruby/hoe )
30 test? (
31 dev-ruby/hoe
32 virtual/ruby-test-unit
33 )"
34
35 each_ruby_configure() {
36 pushd ext >& /dev/null
37 ${RUBY} extconf.rb
38 popd >& /dev/null
39 }
40
41 each_ruby_compile() {
42 pushd ext >& /dev/null
43 emake || die "Compilation failed."
44 popd >& /dev/null
45 mv ext/oregexp.so lib || die "Unable to move oregexp.so"
46 }
47
48 each_ruby_install() {
49 each_fakegem_install
50 }

  ViewVC Help
Powered by ViewVC 1.1.20