diff options
author | Stuart Herbert <stuart@gentoo.org> | 2005-09-04 16:07:00 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2005-09-04 16:07:00 +0000 |
commit | a6fdf85d5995235498f9ba86379b2668cc308536 (patch) | |
tree | 648e4d709cf8eb193192a783835a8f15e137fc95 /dev-php4/php-java-bridge/php-java-bridge-2.0.7.ebuild | |
parent | Bumped version and fixed compilation on 32-bit userland with 64-bit kernel on... (diff) | |
download | gentoo-2-a6fdf85d5995235498f9ba86379b2668cc308536.tar.gz gentoo-2-a6fdf85d5995235498f9ba86379b2668cc308536.tar.bz2 gentoo-2-a6fdf85d5995235498f9ba86379b2668cc308536.zip |
Initial import for PHP4
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-php4/php-java-bridge/php-java-bridge-2.0.7.ebuild')
-rw-r--r-- | dev-php4/php-java-bridge/php-java-bridge-2.0.7.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
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 new file mode 100644 index 000000000000..0da166e994ff --- /dev/null +++ b/dev-php4/php-java-bridge/php-java-bridge-2.0.7.ebuild @@ -0,0 +1,47 @@ +# 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.1 2005/09/04 16:07:00 stuart 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="~ppc ~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 + require_php_with_use java-external +} + +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 +} + +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 ChangeLog README README.GNU_JAVA PROTOCOL.TXT +} |