summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2007-03-18 01:49:02 +0000
committerLuca Longinotti <chtekk@gentoo.org>2007-03-18 01:49:02 +0000
commit5d0aeac1ed07e690f9ce7e03970116cdbfde1ac9 (patch)
treedea4605a56c6e2fd83a02296b2bfe3a6a43a1fa0 /dev-php5/php-java-bridge/php-java-bridge-2.0.8.ebuild
parentReplacing einfo with elog (diff)
downloadgentoo-2-5d0aeac1ed07e690f9ce7e03970116cdbfde1ac9.tar.gz
gentoo-2-5d0aeac1ed07e690f9ce7e03970116cdbfde1ac9.tar.bz2
gentoo-2-5d0aeac1ed07e690f9ce7e03970116cdbfde1ac9.zip
Cleanup.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-php5/php-java-bridge/php-java-bridge-2.0.8.ebuild')
-rw-r--r--dev-php5/php-java-bridge/php-java-bridge-2.0.8.ebuild17
1 files changed, 8 insertions, 9 deletions
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
index 2df354fa3af6..2b6a17947f6f 100644
--- 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
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 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.12 2006/10/14 22:28:44 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/php-java-bridge/php-java-bridge-2.0.8.ebuild,v 1.13 2007/03/18 01:49:02 chtekk Exp $
PHP_EXT_NAME="java"
PHP_EXT_INI="yes"
@@ -9,6 +9,7 @@ PHP_EXT_ZENDEXT="no"
inherit php-ext-source-r1
KEYWORDS="amd64 ppc ppc64 x86"
+
DESCRIPTION="The PHP/Java bridge is a PHP module wich connects the PHP object system with the Java or ECMA 335 object system."
HOMEPAGE="http://php-java-bridge.sourceforge.net/"
SRC_URI="mirror://sourceforge/php-java-bridge/${PN}_${PV}.tar.bz2"
@@ -16,10 +17,9 @@ LICENSE="PHP-3"
SLOT="0"
IUSE=""
-DEPEND="${DEPEND}
- >=dev-util/re2c-0.9.9
- dev-java/java-config
- =virtual/jdk-1.4*"
+DEPEND="dev-java/java-config
+ >=virtual/jdk-1.4.2"
+RDEPEND="${DEPEND}"
need_php_by_category
@@ -32,7 +32,6 @@ pkg_setup() {
src_unpack() {
unpack ${A}
-
cd "${S}"
# Patch against 'zend_fetch_debug_backtrace' API change
@@ -43,18 +42,18 @@ src_unpack() {
}
src_compile() {
- has_php
- export WANT_AUTOMAKE=1.9 WANT_AUTOCONF=2.5
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
}