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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Dec 21 13:43:01 2005 UTC (9 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-r3.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 mirror://gentoo/${P}.bind.patch"
11
12 LICENSE="GPL-2"
13 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
14 IUSE=""
15
16 DEPEND="$DEPEND
17 >=virtual/httpd-php-4.3.8"
18
19 S=${WORKDIR}/${PN}-dev
20
21 src_unpack() {
22 unpack ${A}
23 cd ${S}
24 epatch ${FILESDIR}/${P}-xss-and-path.patch
25 epatch ${FILESDIR}/${P}-sparc.patch
26 epatch ${DISTDIR}/${P}.bind.patch
27 }
28
29 src_install() {
30 webapp_src_preinst
31
32 cp -R templates ${D}${MY_HTDOCSDIR} || die "cp failed"
33 cp -R includes ${D}${MY_HTDOCSDIR} || die "cp failed"
34 cp *.php ${D}${MY_HTDOCSDIR} || die "cp failed"
35 cp -R images ${D}${MY_HTDOCSDIR} || die "cp failed"
36
37 cp config.php.new ${D}${MY_HTDOCSDIR}/config.php || die "cp failed"
38 webapp_configfile ${MY_HTDOCSDIR}
39
40 dodoc ChangeLog README
41
42 webapp_src_install
43 }

  ViewVC Help
Powered by ViewVC 1.1.20