summaryrefslogtreecommitdiff
blob: 743960be9c022724b0327f1af273922f1bcf1204 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/diaria/diaria-0.1.4.ebuild,v 1.3 2004/09/03 17:17:20 pvdabeel Exp $

inherit ruby

DESCRIPTION="Diaria is for posting news items to the web. "
HOMEPAGE="http://rubyforge.org/projects/diaria/"
SRC_URI="http://rubyforge.org/download.php/208/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
USE_RUBY="any"
SLOT="0"
KEYWORDS="x86 ppc"
USE_RUBY="any"
IUSE=""
DEPEND="virtual/ruby"

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

src_install() {
	ruby install.rb install || die
	insinto /usr/share/diaria/templates
	doins share/diaria/templates/*
	dodoc share/diaria/doc/*.txt share/diaria/doc/config.sample
	dohtml share/diaria/doc/*
}