diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2010-05-02 13:49:08 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2010-05-02 13:49:08 +0000 |
commit | e9764124b000efd8172c446d6db313e07e83b28e (patch) | |
tree | cadf180ddd8933f17682c8d06a9b7394c25cbded /dev-java | |
parent | Bump including upstream fixes (diff) | |
download | gentoo-2-e9764124b000efd8172c446d6db313e07e83b28e.tar.gz gentoo-2-e9764124b000efd8172c446d6db313e07e83b28e.tar.bz2 gentoo-2-e9764124b000efd8172c446d6db313e07e83b28e.zip |
Create a new revision from openjdk classes so that we don't need to fetch restrict this any more. Fixes bug #272562.
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jsr223/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jsr223/jsr223-1.0-r1.ebuild | 36 |
2 files changed, 44 insertions, 2 deletions
diff --git a/dev-java/jsr223/ChangeLog b/dev-java/jsr223/ChangeLog index 5cb957e3606a..5f61a9396e23 100644 --- a/dev-java/jsr223/ChangeLog +++ b/dev-java/jsr223/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/jsr223 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr223/ChangeLog,v 1.2 2008/12/20 22:01:26 maekke Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr223/ChangeLog,v 1.3 2010/05/02 13:49:08 betelgeuse Exp $ + +*jsr223-1.0-r1 (02 May 2010) + + 02 May 2010; Petteri Räty <betelgeuse@gentoo.org> +jsr223-1.0-r1.ebuild: + Create a new revision from openjdk classes so that we don't need to fetch + restrict this any more. Fixes bug #272562. 20 Dec 2008; Markus Meier <maekke@gentoo.org> jsr223-1.0.ebuild: amd64/x86 stable, bug #251172 diff --git a/dev-java/jsr223/jsr223-1.0-r1.ebuild b/dev-java/jsr223/jsr223-1.0-r1.ebuild new file mode 100644 index 000000000000..73b7b7219977 --- /dev/null +++ b/dev-java/jsr223/jsr223-1.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jsr223/jsr223-1.0-r1.ebuild,v 1.1 2010/05/02 13:49:08 betelgeuse Exp $ + +EAPI="2" +JAVA_PKG_IUSE="" + +inherit java-pkg-2 + +DESCRIPTION="Scripting for the Java(TM) Platform" +HOMEPAGE="http://jcp.org/en/jsr/detail?id=223" + +# http://download.java.net/openjdk/jdk6/promoted/b19/openjdk-6-src-b19-15_apr_2010.tar.gz +# tar xvf openjdk-6-src-b19-15_apr_2010.tar.gz jdk/src/share/classes/javax/script +# tar cjvf jsr223-openjdk-6-src-b19.tar.bz2 jdk/ +SRC_URI="mirror://gentoo/jsr223-openjdk-6-src-b19.tar.bz2" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +RDEPEND=">=virtual/jre-1.5" +DEPEND=">=virtual/jdk-1.5" + +S="${WORKDIR}" + +src_compile() { + ejavac -d build jdk/src/share/classes/javax/script/*.java + jar -cf script-api.jar -C build javax || die +} + +src_install() { + java-pkg_dojar script-api.jar +} |