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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Thu Sep 30 01:32:45 2010 UTC (4 years, 9 months ago) by ranger
Branch: MAIN
Changes since 1.7: +2 -2 lines
Marking ruby-bsearch-1.5-r2 ppc64 for bug 327525
(Portage version: 2.1.8.3/cvs/Linux ppc64)

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/ruby-bsearch/ruby-bsearch-1.5-r2.ebuild,v 1.7 2010/09/29 16:05:11 jer Exp $
4
5 EAPI="2"
6 USE_RUBY="ruby18"
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