blob: ea4ddde3d6399d9f4d8488c2485adb6b7f8e3904 (
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
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/collectd-web/collectd-web-0.3.0.ebuild,v 1.2 2011/02/28 14:39:56 alexxy Exp $
EAPI=3
inherit webapp
DESCRIPTION="Collectd-web is a web-based front-end for RRD data collected by collectd"
HOMEPAGE="http://kenny.belitzky.com/projects/collectd-web"
SRC_URI="https://github.com/httpdss/${PN}/tarball/${PV} -> ${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE=""
need_httpd_cgi
S="${WORKDIR}/httpdss-collectd-web-ee521b6"
DEPEND="dev-perl/HTML-Parser
net-analyzer/rrdtool[perl]
dev-perl/JSON
virtual/perl-CGI
dev-perl/URI
virtual/perl-Time-Local
virtual/ttf-fonts"
RDEPEND="${DEPEND}"
src_install() {
webapp_src_preinst
cd "${S}"/cgi-bin
insinto "${MY_CGIBINDIR}"
doins -r .
cd "${S}"
insinto "${MY_HTDOCSDIR}"
doins -r iphone
doins -r media
doins index.html
webapp_src_install
}
|