summaryrefslogtreecommitdiff
blob: 87457bbc332050f4d73556ff360f0fad84c5cf98 (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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/redcloth/redcloth-3.0.2.ebuild,v 1.2 2005/03/12 15:33:00 citizen428 Exp $

inherit ruby

MY_P="RedCloth-${PV}"

DESCRIPTION="A module for using Textile in Ruby"
HOMEPAGE="http://www.whytheluckystiff.net/ruby/redcloth/"
SRC_URI="http://rubyforge.org/frs/download.php/2852/${MY_P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="x86"
IUSE=""

USE_RUBY="any"
DEPEND="virtual/ruby"

S=${WORKDIR}/${MY_P}

src_compile() {
	ruby install.rb config --prefix=/usr || die "ruby install.rb config failed"
	ruby install.rb setup || die "ruby install.rb setup failed"
}

src_install() {
	ruby install.rb config --prefix=${D}/usr || die "ruby install.rb config failed"
	ruby install.rb install || die "ruby install.rb install failed"
	dodoc doc/CHANGELOG doc/README doc/REFERENCE
}