/[gentoo-x86]/dev-ruby/ruby-svg/ruby-svg-1.0.3-r2.ebuild
Gentoo

Contents of /dev-ruby/ruby-svg/ruby-svg-1.0.3-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue May 1 18:24:28 2012 UTC (2 years, 2 months ago) by armin76
Branch: MAIN
Changes since 1.4: +2 -2 lines
Drop ia64/sparc keywords

(Portage version: 2.1.10.53/cvs/Linux ia64, RepoMan options: --force)

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-svg/ruby-svg-1.0.3-r2.ebuild,v 1.4 2012/02/06 19:41:31 ranger Exp $
4
5 EAPI=2
6 USE_RUBY="ruby18"
7
8 inherit ruby-ng
9
10 DESCRIPTION="Ruby SVG Generator"
11 HOMEPAGE="http://ruby-svg.sourceforge.jp/"
12 SRC_URI="http://downloads.sourceforge.jp/ruby-svg/2288/${P}.tar.gz"
13 LICENSE="LGPL-2.1"
14 SLOT="0"
15 KEYWORDS="amd64 ppc x86"
16 IUSE="doc examples"
17
18 ruby_add_bdepend "doc? ( dev-ruby/rdtool )"
19
20 each_ruby_configure() {
21 ${RUBY} install.rb config --prefix=/usr || die
22 }
23
24 each_ruby_compile() {
25 ${RUBY} install.rb setup || die
26 }
27
28 each_ruby_install() {
29 ${RUBY} install.rb config --prefix="${D}"/usr || die
30 ${RUBY} install.rb install || die
31 }
32
33 all_ruby_install() {
34 if use doc ; then
35 rd2 README.en.rd > README.en.html
36 rd2 README.ja.rd > README.ja.html
37
38 dohtml *.html || die
39 fi
40
41 if use examples ; then
42 insinto /usr/share/doc/${PF}/examples
43 doins sample/*
44 fi
45 }

  ViewVC Help
Powered by ViewVC 1.1.20