diff options
Diffstat (limited to 'dev-php/phpsysinfo/phpsysinfo-2.3-r2.ebuild')
-rw-r--r-- | dev-php/phpsysinfo/phpsysinfo-2.3-r2.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-php/phpsysinfo/phpsysinfo-2.3-r2.ebuild b/dev-php/phpsysinfo/phpsysinfo-2.3-r2.ebuild new file mode 100644 index 000000000000..06dda8bdb6ec --- /dev/null +++ b/dev-php/phpsysinfo/phpsysinfo-2.3-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/phpsysinfo/phpsysinfo-2.3-r2.ebuild,v 1.1 2005/04/01 17:09:08 corsair Exp $ + +inherit eutils webapp + +DESCRIPTION="phpSysInfo is a nice package that will display your system stats via PHP." +HOMEPAGE="http://phpsysinfo.sourceforge.net/" +SRC_URI="mirror://sourceforge/phpsysinfo/${P}.tar.gz" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~alpha ~hppa ~sparc ~amd64 ppc64" +IUSE="" + +DEPEND="$DEPEND >=net-www/apache-1.3.27-r1 + >=virtual/httpd-php-4.3.8" + +S=${WORKDIR}/${PN}-dev + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${P}-xss-and-path.patch + epatch ${FILESDIR}/${P}-sparc.patch + cd ${S} +} + +src_install() { + webapp_src_preinst + + cp -R templates ${D}${MY_HTDOCSDIR} || die "cp failed" + cp -R includes ${D}${MY_HTDOCSDIR} || die "cp failed" + cp *.php ${D}${MY_HTDOCSDIR} || die "cp failed" + cp -R images ${D}${MY_HTDOCSDIR} || die "cp failed" + + cp config.php.new ${D}${MY_HTDOCSDIR}/config.php || die "cp failed" + webapp_configfile ${MY_HTDOCSDIR} + + dodoc ChangeLog README + + webapp_src_install +} |