blob: 87d5394135ec7a6f5c956cf32e02285e0efdac6c (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/phpsysinfo/phpsysinfo-2.5.3.ebuild,v 1.2 2007/08/13 21:15:05 gustavoz Exp $
inherit eutils webapp depend.php
DESCRIPTION="phpSysInfo is a nice package that will display your system stats via PHP."
HOMEPAGE="http://phpsysinfo.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 sparc ~x86 ~x86-fbsd"
IUSE=""
S=${WORKDIR}/${PN}
need_php
pkg_setup() {
webapp_pkg_setup
require_php_with_use pcre
}
src_install() {
webapp_src_preinst
dodoc ChangeLog README
cp -R [:dit:]* ${D}${MY_HTDOCSDIR}
cp config.php.new ${D}${MY_HTDOCSDIR}/config.php
webapp_configfile ${MY_HTDOCSDIR}/config.php
webapp_src_install
}
|