ChangeLog

# ChangeLog for dev-php4/php-java-bridge
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-php4/php-java-bridge/ChangeLog,v 1.18 2007/12/27 16:58:59 hoffie Exp $

27 Dec 2007; Christian Hoffmann metadata.xml:
moving to no-herd/maintainer-needed -- php does not want this package

06 Mar 2007; Luca Longinotti
php-java-bridge-2.0.8.ebuild:
Cleanup.

14 Oct 2006; Luca Longinotti
php-java-bridge-2.0.8.ebuild:
Fix bug #140744.

05 Oct 2006; Gustavo Zacarias
php-java-bridge-2.0.8.ebuild:
Dropping sparc keywords, see #96229

22 Jan 2006; Simon Stelling
php-java-bridge-2.0.8.ebuild:
stable on amd64

21 Jan 2006; Jason Wever php-java-bridge-2.0.8.ebuild:
Stable on SPARC wrt bug #119452.

21 Jan 2006; php-java-bridge-2.0.8.ebuild:
Added ppc keyword. bug 119452

19 Jan 2006; Krzysiek Pawlik
php-java-bridge-2.0.8.ebuild:
Stable on x86.

18 Jan 2006; Markus Rothe
php-java-bridge-2.0.8.ebuild:
Stable on ppc64; bug #119452

07 Jan 2006; Luca Longinotti
-php-java-bridge-2.0.7.ebuild, php-java-bridge-2.0.8.ebuild:
Remove old version.

04 Dec 2005; Luca Longinotti
php-java-bridge-2.0.8.ebuild:
Readd wrongly dropped keywords.

29 Nov 2005; Jason Wever php-java-bridge-2.0.8.ebuild:
Added ~sparc keyword as it was incorrectly dropped from the ebuild among
other arch keywords in the version bump.

25 Nov 2005; Luca Longinotti
php-java-bridge-2.0.7.ebuild, php-java-bridge-2.0.8.ebuild:
Tidy up ebuild.

19 Nov 2005; Markus Rothe
php-java-bridge-2.0.7.ebuild, php-java-bridge-2.0.8.ebuild:
Added ~ppc64 keywords; bug #102649

*php-java-bridge-2.0.8 (19 Nov 2005)

19 Nov 2005; Luca Longinotti
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
php-java-bridge-2.0.7.ebuild:
added to ~amd64

09 Sep 2005; Jason Wever php-java-bridge-2.0.7.ebuild:
Added ~sparc keyword to help fix the broken dependencies of
dev-php/PEAR-Date-1.4.3-r1.

18 Aug 2005; ChangeLog:
Initial version; replaces older dev-php/* packages

Manifest

DIST php-java-bridge_2.0.8.tar.bz2 250144 RMD160 ae1b85b6f78c91986b4684c477c7ce8b2ff09a9a SHA1 7e369a5c638f64fb09b3a8ae0c79cfbc197dea5b SHA256 6956cc600b522620debb0671c7a215560f1b522dad5a87dd57e78139bfe4f9ce
EBUILD php-java-bridge-2.0.8.ebuild 1636 RMD160 e3c9b31b1f78dab6f3064a2575f2491feb7ed4b0 SHA1 a7da7f7ccadf580c784141c51b600b75fa20ad81 SHA256 76feb04618dbfcfc947d419144fab11087382ce2ea6b7db2b1473264dc732b18
MISC ChangeLog 2564 RMD160 7128a06ad6d317d3d87c14d2d811cd75e0535282 SHA1 37f6c61acb1cccce350f561bdf756545f118de6a SHA256 4ae56c692556ad7e96acb1a0bf897c2f3a67228f956c6cc05e7a2ab98a00eeac
MISC metadata.xml 236 RMD160 92f49f8275e75caf57b88a3172d5204eaa4e33ae SHA1 dd1a8550a514e55ab0ed6190ab4794bb090994f8 SHA256 56075995f83836ae824c7cb01931b98d6745f6d5a7764299c8262e801486b829

metadata.xml




no-herd

maintainer-needed@gentoo.org

php-java-bridge-2.0.8.ebuild

# Copyright 1999-2007 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.14 2007/03/06 22:04:31 chtekk Exp $

PHP_EXT_NAME="java"
PHP_EXT_INI="yes"
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"
LICENSE="PHP-3"
SLOT="0"
IUSE=""

DEPEND="dev-java/java-config
>=virtual/jdk-1.4.2"
RDEPEND="${DEPEND}"

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() {
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
}