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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Aug 13 06:36:34 2010 UTC (4 years, 1 month ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Remove old versions.
(Portage version: 2.1.8.3/cvs/Linux x86_64)

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-r1.ebuild,v 1.3 2010/05/23 16:52:55 graaff Exp $
4
5 EAPI="2"
6 USE_RUBY="ruby18"
7
8 RUBY_FAKEGEM_TASK_DOC="docs"
9
10 RUBY_FAKEGEM_EXTRADOC="History.txt README.txt Syntax.txt"
11
12 inherit ruby-fakegem
13
14 DESCRIPTION="Ruby bindings to the Oniguruma"
15 HOMEPAGE="http://oniguruma.rubyforge.org/"
16
17 LICENSE="BSD-2"
18 SLOT="0"
19 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
20 IUSE=""
21
22 DEPEND="dev-libs/oniguruma"
23
24 RUBY_PATCHES=( "${P}-unmonkey.patch" )
25
26 ruby_add_bdepend "
27 doc? ( dev-ruby/hoe )
28 test? (
29 dev-ruby/hoe
30 virtual/ruby-test-unit
31 )"
32
33 each_ruby_configure() {
34 pushd ext >& /dev/null
35 ${RUBY} extconf.rb
36 popd >& /dev/null
37 }
38
39 each_ruby_compile() {
40 pushd ext >& /dev/null
41 emake || die "Compilation failed."
42 popd >& /dev/null
43 mv ext/oregexp.so lib || die "Unable to move oregexp.so"
44 }
45
46 each_ruby_install() {
47 each_fakegem_install
48 }

  ViewVC Help
Powered by ViewVC 1.1.20