/[gentoo-x86]/dev-ruby/ruby-bsearch/ruby-bsearch-1.5-r3.ebuild
Gentoo

Contents of /dev-ruby/ruby-bsearch/ruby-bsearch-1.5-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Wed Nov 7 05:10:59 2012 UTC (21 months, 3 weeks ago) by jer
Branch: MAIN
Changes since 1.5: +2 -2 lines
Stable for HPPA (bug #435180).

(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key A792A613)

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/ruby-bsearch/ruby-bsearch-1.5-r3.ebuild,v 1.5 2012/10/28 19:14:25 blueness Exp $
4
5 EAPI="4"
6 USE_RUBY="ruby18 ruby19 ree18 jruby"
7
8 inherit ruby-ng
9
10 DESCRIPTION="A binary search library for Ruby"
11 HOMEPAGE="http://0xcc.net/ruby-bsearch/"
12 SRC_URI="http://0xcc.net/ruby-bsearch/${P}.tar.gz"
13 LICENSE="Ruby"
14 SLOT="0"
15 KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
16 IUSE=""
17
18 DOCS="ChangeLog *.rd bsearch.png"
19
20 all_ruby_prepare() {
21 sed -i 's/ruby/\$\{RUBY\}/' tests/test.sh || die "Unable to fix tests shell script."
22 }
23
24 each_ruby_test() {
25 pushd tests
26 RUBY=${RUBY} sh test.sh
27 popd
28 }
29
30 each_ruby_install() {
31 doruby bsearch.rb
32 }
33
34 all_ruby_install() {
35 dodoc ${DOCS}
36 }

  ViewVC Help
Powered by ViewVC 1.1.20