/[gentoo-x86]/dev-ruby/tidy-ext/tidy-ext-0.1.14.ebuild
Gentoo

Contents of /dev-ruby/tidy-ext/tidy-ext-0.1.14.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Tue Jan 15 05:26:23 2013 UTC (23 months ago) by zerochaos
Branch: MAIN
Changes since 1.9: +2 -2 lines
adding ~arm keywords to net-analyzer/metasploit rdeps

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/tidy-ext/tidy-ext-0.1.14.ebuild,v 1.9 2013/01/04 20:23:08 ago Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18 ruby19 ree18"
7
8 RUBY_FAKEGEM_DOCDIR="rdoc"
9
10 RUBY_FAKEGEM_RECIPE_TEST="rspec"
11
12 inherit ruby-fakegem eutils
13
14 DESCRIPTION="W3C HTML Tidy library implemented as a Ruby extension."
15 HOMEPAGE="http://github.com/carld/tidy"
16
17 LICENSE="HTML-Tidy"
18 SLOT="0"
19 KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86"
20 IUSE=""
21
22 all_ruby_prepare() {
23 mkdir lib || die
24
25 # Remove reference to rspec 1
26 sed -i -e '/spec/d' spec/spec_helper.rb || die
27 }
28
29 each_ruby_configure() {
30 ${RUBY} -Cext/tidy extconf.rb || die "Unable to configure extension."
31 }
32
33 each_ruby_compile() {
34 emake -Cext/tidy || die
35 cp ext/tidy/tidy$(get_modname) lib/ || die "Unable to copy extension."
36 }

  ViewVC Help
Powered by ViewVC 1.1.20