1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
10 DESCRIPTION="Scripting for the Java(TM) Platform"
11 HOMEPAGE="http://jcp.org/en/jsr/detail?id=223"
13 # http://download.java.net/openjdk/jdk6/promoted/b19/openjdk-6-src-b19-15_apr_2010.tar.gz
14 # tar xvf openjdk-6-src-b19-15_apr_2010.tar.gz jdk/src/share/classes/javax/script
15 # tar cjvf jsr223-openjdk-6-src-b19.tar.bz2 jdk/
16 SRC_URI="mirror://gentoo/jsr223-openjdk-6-src-b19.tar.bz2"
18 LICENSE="GPL-2-with-linking-exception"
24 RDEPEND=">=virtual/jre-1.5"
25 DEPEND=">=virtual/jdk-1.5"
31 ejavac -d build jdk/src/share/classes/javax/script/*.java
32 jar -cf script-api.jar -C build javax || die
36 java-pkg_dojar script-api.jar