summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php5/php-java-bridge')
-rw-r--r--dev-php5/php-java-bridge/ChangeLog8
-rw-r--r--dev-php5/php-java-bridge/Manifest8
-rw-r--r--dev-php5/php-java-bridge/files/digest-php-java-bridge-2.0.81
-rw-r--r--dev-php5/php-java-bridge/php-java-bridge-2.0.7.ebuild9
-rw-r--r--dev-php5/php-java-bridge/php-java-bridge-2.0.8.ebuild48
5 files changed, 66 insertions, 8 deletions
diff --git a/dev-php5/php-java-bridge/ChangeLog b/dev-php5/php-java-bridge/ChangeLog
index 19ff2917c841..6d35add5720a 100644
--- a/dev-php5/php-java-bridge/ChangeLog
+++ b/dev-php5/php-java-bridge/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-php5/php-java-bridge
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-java-bridge/ChangeLog,v 1.3 2005/09/16 23:26:13 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-java-bridge/ChangeLog,v 1.4 2005/11/19 19:16:33 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 2.0.7 to work with new PHP stuff.
17 Sep 2005; Christian Parpart <trapni@gentoo.org>
php-java-bridge-2.0.7.ebuild:
diff --git a/dev-php5/php-java-bridge/Manifest b/dev-php5/php-java-bridge/Manifest
index 31345adb7225..09f4779eccb9 100644
--- a/dev-php5/php-java-bridge/Manifest
+++ b/dev-php5/php-java-bridge/Manifest
@@ -1,4 +1,6 @@
-MD5 e5dacc200faab21244e7b2b1773d7330 ChangeLog 594
-MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
-MD5 2b198689c53577d879ebfcc79b0a33b4 php-java-bridge-2.0.7.ebuild 1212
+MD5 b8953ae7bb8b03092b68c6a094a4ee7e ChangeLog 810
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 e1a01255a08d0a2716991ea88e4f5d39 php-java-bridge-2.0.7.ebuild 1239
+MD5 c5c04162eb989d110caf4ca455578864 php-java-bridge-2.0.8.ebuild 1105
diff --git a/dev-php5/php-java-bridge/files/digest-php-java-bridge-2.0.8 b/dev-php5/php-java-bridge/files/digest-php-java-bridge-2.0.8
new file mode 100644
index 000000000000..8a2b77246a4a
--- /dev/null
+++ b/dev-php5/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-php5/php-java-bridge/php-java-bridge-2.0.7.ebuild b/dev-php5/php-java-bridge/php-java-bridge-2.0.7.ebuild
index d4534087d47b..9ee0e69b3cfb 100644
--- a/dev-php5/php-java-bridge/php-java-bridge-2.0.7.ebuild
+++ b/dev-php5/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-php5/php-java-bridge/php-java-bridge-2.0.7.ebuild,v 1.3 2005/09/16 23:26:13 trapni Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-java-bridge/php-java-bridge-2.0.7.ebuild,v 1.4 2005/11/19 19:16:33 chtekk Exp $
PHP_EXT_ZENDEXT="no"
PHP_EXT_NAME="java"
@@ -26,12 +26,13 @@ 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
}
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 +44,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-php5/php-java-bridge/php-java-bridge-2.0.8.ebuild b/dev-php5/php-java-bridge/php-java-bridge-2.0.8.ebuild
new file mode 100644
index 000000000000..c94b62e3627f
--- /dev/null
+++ b/dev-php5/php-java-bridge/php-java-bridge-2.0.8.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-java-bridge/php-java-bridge-2.0.8.ebuild,v 1.1 2005/11/19 19:16:33 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
+}
+
+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
+}