diff options
author | Stuart Herbert <stuart@gentoo.org> | 2005-09-04 16:53:21 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2005-09-04 16:53:21 +0000 |
commit | 0c061ffa2d54f32b71a5336447b29a0f5e717ff5 (patch) | |
tree | b9d09a37cead9d21f1628e060f4321aef918cbfd /dev-php5/php-java-bridge | |
parent | Initial import (diff) | |
download | historical-0c061ffa2d54f32b71a5336447b29a0f5e717ff5.tar.gz historical-0c061ffa2d54f32b71a5336447b29a0f5e717ff5.tar.bz2 historical-0c061ffa2d54f32b71a5336447b29a0f5e717ff5.zip |
Initial import for PHP5
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-php5/php-java-bridge')
-rw-r--r-- | dev-php5/php-java-bridge/ChangeLog | 7 | ||||
-rw-r--r-- | dev-php5/php-java-bridge/Manifest | 4 | ||||
-rw-r--r-- | dev-php5/php-java-bridge/files/digest-php-java-bridge-2.0.7 | 1 | ||||
-rw-r--r-- | dev-php5/php-java-bridge/metadata.xml | 5 | ||||
-rw-r--r-- | dev-php5/php-java-bridge/php-java-bridge-2.0.7.ebuild | 47 |
5 files changed, 64 insertions, 0 deletions
diff --git a/dev-php5/php-java-bridge/ChangeLog b/dev-php5/php-java-bridge/ChangeLog new file mode 100644 index 000000000000..1b872095655f --- /dev/null +++ b/dev-php5/php-java-bridge/ChangeLog @@ -0,0 +1,7 @@ +# 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.1 2005/09/04 16:52:23 stuart Exp $ + + 18 Aug 2005; <stuart@gentoo.org> ChangeLog: + Initial version; replaces older dev-php/* packages + diff --git a/dev-php5/php-java-bridge/Manifest b/dev-php5/php-java-bridge/Manifest new file mode 100644 index 000000000000..307e7e8eb52a --- /dev/null +++ b/dev-php5/php-java-bridge/Manifest @@ -0,0 +1,4 @@ +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +MD5 4c1fbb5865b9b4d4581cfd5980492bdc ChangeLog 225 +MD5 d1d61acf9568bf5e862e8e0aa3685293 php-java-bridge-2.0.7.ebuild 1083 +MD5 f9772bb4b2696cabf6a11c123cf8060d files/digest-php-java-bridge-2.0.7 74 diff --git a/dev-php5/php-java-bridge/files/digest-php-java-bridge-2.0.7 b/dev-php5/php-java-bridge/files/digest-php-java-bridge-2.0.7 new file mode 100644 index 000000000000..f0c8280bb34a --- /dev/null +++ b/dev-php5/php-java-bridge/files/digest-php-java-bridge-2.0.7 @@ -0,0 +1 @@ +MD5 edf993bac2485893cfbce975691a3e32 php-java-bridge_2.0.7.tar.bz2 125764 diff --git a/dev-php5/php-java-bridge/metadata.xml b/dev-php5/php-java-bridge/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/php-java-bridge/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>php</herd> +</pkgmetadata> 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 new file mode 100644 index 000000000000..e8516ec95f79 --- /dev/null +++ b/dev-php5/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-php5/php-java-bridge/php-java-bridge-2.0.7.ebuild,v 1.1 2005/09/04 16:52:23 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 +} |