diff options
author | Luca Longinotti <chtekk@gentoo.org> | 2005-11-19 18:39:03 +0000 |
---|---|---|
committer | Luca Longinotti <chtekk@gentoo.org> | 2005-11-19 18:39:03 +0000 |
commit | 208c9496e6ed30b4ea25ef6cca5ad56ba98f1abd (patch) | |
tree | 56ea88bc47509d75ca09ce85c0b99b14a1a5deec /dev-php4/php-java-bridge | |
parent | Stable on ppc64; bug #111133 (diff) | |
download | gentoo-2-208c9496e6ed30b4ea25ef6cca5ad56ba98f1abd.tar.gz gentoo-2-208c9496e6ed30b4ea25ef6cca5ad56ba98f1abd.tar.bz2 gentoo-2-208c9496e6ed30b4ea25ef6cca5ad56ba98f1abd.zip |
Update php-java-bridge.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'dev-php4/php-java-bridge')
-rw-r--r-- | dev-php4/php-java-bridge/ChangeLog | 9 | ||||
-rw-r--r-- | dev-php4/php-java-bridge/Manifest | 8 | ||||
-rw-r--r-- | dev-php4/php-java-bridge/files/digest-php-java-bridge-2.0.8 | 1 | ||||
-rw-r--r-- | dev-php4/php-java-bridge/php-java-bridge-2.0.7.ebuild | 19 | ||||
-rw-r--r-- | dev-php4/php-java-bridge/php-java-bridge-2.0.8.ebuild | 58 |
5 files changed, 87 insertions, 8 deletions
diff --git a/dev-php4/php-java-bridge/ChangeLog b/dev-php4/php-java-bridge/ChangeLog index de0b1bbb95d0..6a985b33c2de 100644 --- a/dev-php4/php-java-bridge/ChangeLog +++ b/dev-php4/php-java-bridge/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-php4/php-java-bridge # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php4/php-java-bridge/ChangeLog,v 1.3 2005/09/16 21:53:25 trapni Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php4/php-java-bridge/ChangeLog,v 1.4 2005/11/19 18:39:03 chtekk Exp $ + +*php-java-bridge-2.0.8 (19 Nov 2005) + + 19 Nov 2005; Luca Longinotti <chtekk@gentoo.org> + php-java-bridge-2.0.7.ebuild, +php-java-bridge-2.0.8.ebuild: + Add 2.0.8 to the tree, fix some stuff in 2.0.7 to be compliant with newer + installs of PHP. 16 Sep 2005; Christian Parpart <trapni@gentoo.org> php-java-bridge-2.0.7.ebuild: diff --git a/dev-php4/php-java-bridge/Manifest b/dev-php4/php-java-bridge/Manifest index 1bf04fc4fcc9..be1409701042 100644 --- a/dev-php4/php-java-bridge/Manifest +++ b/dev-php4/php-java-bridge/Manifest @@ -1,4 +1,6 @@ -MD5 5e2515bef2494f6adf3e008c2381cc60 ChangeLog 594 -MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 -MD5 2a7be7017743bdd66bcf28551c51db2d php-java-bridge-2.0.7.ebuild 1212 +MD5 76cdae6e736d52d1cfcf24c4f5713312 ChangeLog 842 MD5 f9772bb4b2696cabf6a11c123cf8060d files/digest-php-java-bridge-2.0.7 74 +MD5 8562d753d236eb755256a67623db0e81 files/digest-php-java-bridge-2.0.8 74 +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 96683f86d87b1f52bf492e43ae2197e4 php-java-bridge-2.0.7.ebuild 1666 +MD5 b6ff8a007eb06338966036321aeab7da php-java-bridge-2.0.8.ebuild 1532 diff --git a/dev-php4/php-java-bridge/files/digest-php-java-bridge-2.0.8 b/dev-php4/php-java-bridge/files/digest-php-java-bridge-2.0.8 new file mode 100644 index 000000000000..8a2b77246a4a --- /dev/null +++ b/dev-php4/php-java-bridge/files/digest-php-java-bridge-2.0.8 @@ -0,0 +1 @@ +MD5 58c3b2dbd8b5a21c52a9cc9d6904e24b php-java-bridge_2.0.8.tar.bz2 250144 diff --git a/dev-php4/php-java-bridge/php-java-bridge-2.0.7.ebuild b/dev-php4/php-java-bridge/php-java-bridge-2.0.7.ebuild index e97b5b19a4b7..36df4aa02b7b 100644 --- a/dev-php4/php-java-bridge/php-java-bridge-2.0.7.ebuild +++ b/dev-php4/php-java-bridge/php-java-bridge-2.0.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php4/php-java-bridge/php-java-bridge-2.0.7.ebuild,v 1.3 2005/09/16 21:53:25 trapni Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php4/php-java-bridge/php-java-bridge-2.0.7.ebuild,v 1.4 2005/11/19 18:39:03 chtekk Exp $ PHP_EXT_ZENDEXT="no" PHP_EXT_NAME="java" @@ -26,12 +26,23 @@ need_php_by_category pkg_setup() { has_php - require_php_with_use java-external + + # we need session support in PHP for this to compile + require_php_with_use session + + # if the user has compiled the internal Java extension, he can't use this package + if built_with_use =${PHP_PKG} java-internal ; then + eerror + eerror "You have built ${PHP_PKG} to use the internal Java extension." + eerror "If you want to use the php-java-bridge package, you must rebuild" + eerror "your PHP with the 'java-external' USE flag instead." + eerror + die "PHP built to use internal Java extension" + fi } src_compile() { has_php - export WANT_AUTOCONF=2.5 my_conf="--disable-servlet --with-java=`java-config --jdk-home`" php-ext-source-r1_src_compile } @@ -43,5 +54,5 @@ src_install() { doins modules/RunJavaBridge doins modules/libnatcJavaBridge.a doins modules/libnatcJavaBridge.so - dodoc ChangeLog README README.GNU_JAVA PROTOCOL.TXT + dodoc-php ChangeLog README README.GNU_JAVA PROTOCOL.TXT } diff --git a/dev-php4/php-java-bridge/php-java-bridge-2.0.8.ebuild b/dev-php4/php-java-bridge/php-java-bridge-2.0.8.ebuild new file mode 100644 index 000000000000..ccecb2f10c7e --- /dev/null +++ b/dev-php4/php-java-bridge/php-java-bridge-2.0.8.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php4/php-java-bridge/php-java-bridge-2.0.8.ebuild,v 1.1 2005/11/19 18:39:03 chtekk Exp $ + +PHP_EXT_ZENDEXT="no" +PHP_EXT_NAME="java" +PHP_EXT_INI="yes" + +inherit php-ext-source-r1 + +SRC_URI="mirror://sourceforge/php-java-bridge/${PN}_${PV}.tar.bz2" +HOMEPAGE="http://php-java-bridge.sourceforge.net/" + +DESCRIPTION="The PHP/Java bridge is a PHP module wich connects the PHP object system with the Java or ECMA 335 object system." +LICENSE="PHP-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="${DEPEND} + >=dev-util/re2c-0.9.9 + dev-java/java-config + =virtual/jdk-1.4*" + +need_php_by_category + +pkg_setup() { + has_php + + # we need session support in PHP for this to compile + require_php_with_use session + + # if the user has compiled the internal Java extension, he can't use this package + if built_with_use =${PHP_PKG} java-internal ; then + eerror + eerror "You have built ${PHP_PKG} to use the internal Java extension." + eerror "If you want to use the php-java-bridge package, you must rebuild" + eerror "your PHP with the 'java-external' USE flag instead." + eerror + die "PHP built to use internal Java extension" + fi +} + +src_compile() { + has_php + my_conf="--disable-servlet --with-java=`java-config --jdk-home`" + php-ext-source-r1_src_compile +} + +src_install() { + php-ext-source-r1_src_install + insinto ${EXT_DIR} + doins modules/JavaBridge.jar + doins modules/RunJavaBridge + doins modules/libnatcJavaBridge.a + doins modules/libnatcJavaBridge.so + dodoc-php ChangeLog README README.GNU_JAVA PROTOCOL.TXT +} |