diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2002-07-09 19:25:01 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2002-07-09 19:25:01 +0000 |
commit | 333c5be10aa1c9309b193cdcb3819286cf51ee51 (patch) | |
tree | a29ea1e2bc9fada1a04fc329b1f0368c0f3ca1fb /dev-php/phpdbg | |
parent | Misc Fixes. Submitted by Roman. Fixes #4725 (diff) | |
download | gentoo-2-333c5be10aa1c9309b193cdcb3819286cf51ee51.tar.gz gentoo-2-333c5be10aa1c9309b193cdcb3819286cf51ee51.tar.bz2 gentoo-2-333c5be10aa1c9309b193cdcb3819286cf51ee51.zip |
Updated ebuild. Submitted by Roman. Fixes #4727
Diffstat (limited to 'dev-php/phpdbg')
-rw-r--r-- | dev-php/phpdbg/ChangeLog | 9 | ||||
-rw-r--r-- | dev-php/phpdbg/files/digest-phpdbg-2.10-r1 | 1 | ||||
-rw-r--r-- | dev-php/phpdbg/phpdbg-2.10-r1.ebuild | 56 |
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-php/phpdbg/ChangeLog b/dev-php/phpdbg/ChangeLog new file mode 100644 index 000000000000..0893a5eb144a --- /dev/null +++ b/dev-php/phpdbg/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-php/phpdbg +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/dev-php/phpdbg/ChangeLog,v 1.1 2002/07/09 19:25:00 rphillips Exp $ + +*phpdbg-2.10-r1 (9 Jul 2002) + + 9 Jul 2002; Roman Weber <gentoo@gonzo.ch> phpdbg-2.10-r1.ebuild : + + Rewrote the ebuild. diff --git a/dev-php/phpdbg/files/digest-phpdbg-2.10-r1 b/dev-php/phpdbg/files/digest-phpdbg-2.10-r1 new file mode 100644 index 000000000000..5250baceee80 --- /dev/null +++ b/dev-php/phpdbg/files/digest-phpdbg-2.10-r1 @@ -0,0 +1 @@ +MD5 7fcd33a3a869bd0ade8def9e642cfa04 dbg-2.10pl3.tar.gz 34496 diff --git a/dev-php/phpdbg/phpdbg-2.10-r1.ebuild b/dev-php/phpdbg/phpdbg-2.10-r1.ebuild new file mode 100644 index 000000000000..3ae5a0c64a56 --- /dev/null +++ b/dev-php/phpdbg/phpdbg-2.10-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Roman Weber <gentoo@gonzo.ch> +# $Header: /var/cvsroot/gentoo-x86/dev-php/phpdbg/phpdbg-2.10-r1.ebuild,v 1.1 2002/07/09 19:25:01 rphillips Exp $ + +PL="pl3" +S="${WORKDIR}/dbg-${PV}${PL}" +DESCRIPTION="A PHP debugger useable with some editors like phpedit." +SRC_URI="http://dd.cron.ru/dbg/dnld/dbg-${PV}${PL}.tar.gz" +HOMEPAGE="http://dd.cron.ru/dbg/" +LICENSE="dbgphp" + +DEPEND=">=dev-php/mod_php-4.2.1" + +src_unpack() { + unpack "dbg-${PV}pl3.tar.gz" + cd "${S}" +} + +src_compile() { + phpize + ./configure --enable-dbg=shared --with-dbg-profiler + emake +} + +src_install () { + insinto /etc/php4/lib + doins modules/dbg.so + dodoc AUTHORS COPYING INSTALL +} + +pkg_postinst() { + echo "Performing post-installation routines for ${P}." + + if [ `cat /etc/php4/php.ini | grep extension=/etc/php4/lib/dbg.so` ]; then + einfo No changes made in php.ini + else + echo extension=/etc/php4/lib/dbg.so >> /etc/php4/php.ini + fi + + einfo Please reload Apache to activate the changes + +} + +pkg_prerm() { + echo "Performing pre-removal routines for ${P}." + mv /etc/php4/php.ini /etc/php4/php.ini.old + cat /etc/php4/php.ini.old | sed "s/extension=\/etc\/php4\/lib\/dbg.so//g" > /etc/php4/php.ini + rm /etc/php4/php.ini.old +} + +pkg_postrm() { + einfo Please reload Apache to activate the changes + +} + |