/[gentoo-x86]/dev-ruby/hpricot/hpricot-0.8.4.ebuild
Gentoo

Contents of /dev-ruby/hpricot/hpricot-0.8.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Oct 28 18:14:59 2012 UTC (2 years, 5 months ago) by armin76
Branch: MAIN
Changes since 1.4: +3 -3 lines
Add ~alpha/~ia64/~sparc wrt #405757

(Portage version: 2.1.11.9/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/hpricot/hpricot-0.8.4.ebuild,v 1.4 2011/08/07 14:02:17 armin76 Exp $
4
5 EAPI=2
6
7 USE_RUBY="ruby18 ree18 jruby"
8
9 RUBY_FAKEGEM_DOCDIR="doc"
10 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
11
12 inherit ruby-fakegem eutils
13
14 DESCRIPTION="A fast and liberal HTML parser for Ruby."
15 HOMEPAGE="http://wiki.github.com/hpricot/hpricot"
16
17 LICENSE="MIT"
18 SLOT="0"
19 KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
20 IUSE=""
21
22 # Probably needs the same jdk as JRuby but I'm not sure how to express
23 # that just yet.
24 DEPEND="${DEPEND}
25 dev-util/ragel
26 ruby_targets_jruby? ( >=virtual/jdk-1.5 )"
27
28 ruby_add_bdepend "dev-ruby/rake
29 dev-ruby/rake-compiler
30 test? ( virtual/ruby-test-unit )"
31
32 each_ruby_compile() {
33 case $(basename ${RUBY}) in
34 jruby)
35 ${RUBY} -S rake compile_java || die "rake compile failed"
36 ;;
37 *)
38 ${RUBY} -S rake compile || die "rake compile failed"
39 ;;
40 esac
41 }

  ViewVC Help
Powered by ViewVC 1.1.20