blob: caee8afabf9fc94daac5604b29015184d31f4037 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-svg/ruby-svg-1.0.3-r1.ebuild,v 1.7 2009/12/24 17:16:04 graaff Exp $
inherit ruby
DESCRIPTION="Ruby SVG Generator"
HOMEPAGE="http://ruby-svg.sourceforge.jp/"
SRC_URI="http://downloads.sourceforge.jp/ruby-svg/2288/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ia64 ppc x86"
USE_RUBY="ruby18"
IUSE="examples"
DEPEND="dev-ruby/rdtool"
RDEPEND=""
src_install() {
ruby install.rb config --prefix="${D}"/usr || die
ruby install.rb setup || die
ruby install.rb install || die
rd2 README.en.rd > README.en.html
rd2 README.ja.rd > README.ja.html
dohtml *.html || die
if use examples ; then
insinto /usr/share/doc/${PF}/examples
doins sample/*
fi
}
|