| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: $
|
| 4 |
|
| 5 |
EAPI="5"
|
| 6 |
|
| 7 |
inherit webapp
|
| 8 |
|
| 9 |
DESCRIPTION="phpSysInfo is a nice package that will display your system stats via PHP."
|
| 10 |
HOMEPAGE="http://rk4an.github.com/phpsysinfo/"
|
| 11 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
| 15 |
IUSE=""
|
| 16 |
|
| 17 |
RDEPEND="virtual/httpd-php
|
| 18 |
dev-lang/php[simplexml,xml,xsl,unicode]"
|
| 19 |
|
| 20 |
need_httpd_cgi
|
| 21 |
|
| 22 |
S="${WORKDIR}/${PN}"
|
| 23 |
|
| 24 |
src_install() {
|
| 25 |
webapp_src_preinst
|
| 26 |
|
| 27 |
dodoc ChangeLog README*
|
| 28 |
rm ChangeLog COPYING README* || die
|
| 29 |
|
| 30 |
insinto "${MY_HTDOCSDIR}"
|
| 31 |
doins -r .
|
| 32 |
newins config.php{.new,}
|
| 33 |
|
| 34 |
webapp_configfile "${MY_HTDOCSDIR}"/config.php
|
| 35 |
webapp_src_install
|
| 36 |
}
|