/[gentoo-x86]/www-apps/phpsysinfo/phpsysinfo-2.3-r2.ebuild
Gentoo

Contents of /www-apps/phpsysinfo/phpsysinfo-2.3-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Dec 21 13:43:01 2005 UTC (8 years, 8 months ago) by rl03
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Removed old versions
(Portage version: 2.0.53)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-apps/phpsysinfo/phpsysinfo-2.3-r2.ebuild,v 1.1 2005/11/20 11:53:16 stuart Exp $
4
5 inherit eutils webapp
6
7 DESCRIPTION="phpSysInfo is a nice package that will display your system stats via PHP."
8 HOMEPAGE="http://phpsysinfo.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/phpsysinfo/${P}.tar.gz"
10 LICENSE="GPL-2"
11 KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86"
12 IUSE=""
13
14 DEPEND="$DEPEND >=net-www/apache-1.3.27-r1
15 >=virtual/httpd-php-4.3.8"
16
17 S=${WORKDIR}/${PN}-dev
18
19 src_unpack() {
20 unpack ${A}
21 cd ${S}
22 epatch ${FILESDIR}/${P}-xss-and-path.patch
23 epatch ${FILESDIR}/${P}-sparc.patch
24 }
25
26 src_install() {
27 webapp_src_preinst
28
29 cp -R templates ${D}${MY_HTDOCSDIR} || die "cp failed"
30 cp -R includes ${D}${MY_HTDOCSDIR} || die "cp failed"
31 cp *.php ${D}${MY_HTDOCSDIR} || die "cp failed"
32 cp -R images ${D}${MY_HTDOCSDIR} || die "cp failed"
33
34 cp config.php.new ${D}${MY_HTDOCSDIR}/config.php || die "cp failed"
35 webapp_configfile ${MY_HTDOCSDIR}
36
37 dodoc ChangeLog README
38
39 webapp_src_install
40 }

  ViewVC Help
Powered by ViewVC 1.1.20