summaryrefslogtreecommitdiff
blob: bc97fe02a8aa160319c394c30c07349015f11d47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amrita/amrita-1.0.2.ebuild,v 1.4 2004/02/24 22:28:22 ciaranm Exp $

DESCRIPTION="A HTML/XHTML template library for Ruby"
HOMEPAGE="http://www.brain-tokyo.jp/research/amrita/index.html"
SRC_URI="http://www.brain-tokyo.jp/research/amrita/${P}.tar.gz"
LICENSE="Ruby"
SLOT="0"
KEYWORDS="alpha hppa mips sparc x86"
DEPEND=">=dev-lang/ruby-1.6.7
	>=dev-ruby/strscan-0.6.5"

src_install() {
	local sitelibdir=`ruby -r rbconfig -e 'print(Config::CONFIG["sitelibdir"])'`
	ruby install.rb --destdir=${D}/${sitelibdir} || die
	dodoc ChangeLog README*
	dohtml -r docs/html/*
}