blob: 6cd7832172251b8121f449b02f392214f35234d6 (
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-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/syweb/syweb-0.64.ebuild,v 1.1 2012/04/17 17:07:48 jer Exp $
EAPI=4
WEBAPP_MANUAL_SLOT="yes"
inherit depend.php webapp
DESCRIPTION="Web frontend to symon"
HOMEPAGE="http://www.xs4all.nl/~wpd/symon/"
SRC_URI="http://www.xs4all.nl/~wpd/symon/philes/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE=""
RDEPEND="net-analyzer/rrdtool"
need_httpd_cgi
need_php_httpd
S=${WORKDIR}/${PN}
src_install() {
webapp_src_preinst
dodoc CHANGELOG README
docinto layouts
dodoc symon/*.layout
dodir "${MY_HOSTROOTDIR}"/syweb/cache
insinto "${MY_HOSTROOTDIR}"/syweb
doins symon/hifn_test.layout
webapp_serverowned "${MY_HOSTROOTDIR}"/syweb/cache
insinto "${MY_HTDOCSDIR}"
doins -r htdocs/syweb/*
webapp_configfile "${MY_HTDOCSDIR}"/setup.inc
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
webapp_hook_script "${FILESDIR}"/reconfig
webapp_src_install
}
|