mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-29 17:41:05 +02:00
closure-compiler-bin: import from Gentoo
We also need the jre/jdk virtuals to make this work. The packages those virtuals depend on have already been merged. BUG=None TEST=`emerge closure-compiler-bin && closure-compiler --help` works Change-Id: I766e27d74c0b61014613105e2958c3a6d87d8a50 Reviewed-on: https://gerrit.chromium.org/gerrit/20966 Reviewed-by: Jon Salz <jsalz@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
a5b67c3821
commit
18de80072a
1
sdk_container/src/third_party/portage-stable/dev-lang/closure-compiler-bin/Manifest
vendored
Normal file
1
sdk_container/src/third_party/portage-stable/dev-lang/closure-compiler-bin/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST closure-compiler-bin-20120305.tar.gz 4905502 RMD160 6317576c731e5429df7721fafc1c69bef0b04bfb SHA1 99ef86cd7863a35ee25a85764d0dc8b1fb6b6fc3 SHA256 593037f0f4e8df99293384559d64c3f89f50cecbd36f9a8755b3d4ddeeea89f2
|
@ -0,0 +1,30 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-lang/closure-compiler-bin/closure-compiler-bin-20120305.ebuild,v 1.1 2012/04/18 15:43:04 vapier Exp $
|
||||||
|
|
||||||
|
EAPI="4"
|
||||||
|
|
||||||
|
inherit java-pkg-2
|
||||||
|
|
||||||
|
DESCRIPTION="JavaScript optimizing compiler"
|
||||||
|
HOMEPAGE="http://code.google.com/p/closure-compiler/"
|
||||||
|
SRC_URI="http://closure-compiler.googlecode.com/files/compiler-${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=virtual/jre-1.6"
|
||||||
|
|
||||||
|
S=${WORKDIR}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
java-pkg_jarinto /opt/${PN}-${SLOT}/lib
|
||||||
|
java-pkg_newjar compiler.jar ${PN}.jar
|
||||||
|
java-pkg_dolauncher \
|
||||||
|
${PN%-bin} \
|
||||||
|
--jar /opt/${PN}-${SLOT}/lib/${PN}.jar \
|
||||||
|
-into /opt
|
||||||
|
dodoc README
|
||||||
|
}
|
43
sdk_container/src/third_party/portage-stable/virtual/jdk/jdk-1.6.0.ebuild
vendored
Normal file
43
sdk_container/src/third_party/portage-stable/virtual/jdk/jdk-1.6.0.ebuild
vendored
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/virtual/jdk/jdk-1.6.0.ebuild,v 1.18 2010/03/04 23:47:11 caster Exp $
|
||||||
|
|
||||||
|
DESCRIPTION="Virtual for JDK"
|
||||||
|
HOMEPAGE=""
|
||||||
|
SRC_URI=""
|
||||||
|
|
||||||
|
LICENSE=""
|
||||||
|
SLOT="1.6"
|
||||||
|
KEYWORDS="amd64 ppc ppc64 x86 ~ppc-aix ~x86-fbsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
# Keeps this and java-virtuals/jaf in sync
|
||||||
|
# The keyword voodoo below is needed so that ppc(64) users will
|
||||||
|
# get a masked license warning for ibm-jdk-bin
|
||||||
|
# instead of (not useful) missing keyword warning for sun-jdk
|
||||||
|
# see #287615
|
||||||
|
# note that this "voodoo" is pretty annoying for Prefix, and that we didn't
|
||||||
|
# invent it in the first place!
|
||||||
|
RDEPEND="|| (
|
||||||
|
amd64? ( dev-java/icedtea6-bin )
|
||||||
|
x86? ( dev-java/icedtea6-bin )
|
||||||
|
amd64-linux? ( dev-java/icedtea6-bin )
|
||||||
|
x86-linux? ( dev-java/icedtea6-bin )
|
||||||
|
amd64? ( =dev-java/icedtea-6* )
|
||||||
|
x86? ( =dev-java/icedtea-6* )
|
||||||
|
amd64? ( =dev-java/sun-jdk-1.6.0* )
|
||||||
|
x86? ( =dev-java/sun-jdk-1.6.0* )
|
||||||
|
amd64-linux? ( =dev-java/sun-jdk-1.6.0* )
|
||||||
|
x86-linux? ( =dev-java/sun-jdk-1.6.0* )
|
||||||
|
x64-solaris? ( =dev-java/sun-jdk-1.6.0* )
|
||||||
|
x86-solaris? ( =dev-java/sun-jdk-1.6.0* )
|
||||||
|
sparc-solaris? ( =dev-java/sun-jdk-1.6.0* )
|
||||||
|
sparc64-solaris? ( =dev-java/sun-jdk-1.6.0* )
|
||||||
|
=dev-java/ibm-jdk-bin-1.6.0*
|
||||||
|
=dev-java/hp-jdk-bin-1.6.0*
|
||||||
|
=dev-java/diablo-jdk-1.6.0*
|
||||||
|
=dev-java/soylatte-jdk-bin-1.0*
|
||||||
|
=dev-java/apple-jdk-bin-1.6.0*
|
||||||
|
=dev-java/winjdk-bin-1.6.0*
|
||||||
|
)"
|
||||||
|
DEPEND=""
|
20
sdk_container/src/third_party/portage-stable/virtual/jre/jre-1.6.0.ebuild
vendored
Normal file
20
sdk_container/src/third_party/portage-stable/virtual/jre/jre-1.6.0.ebuild
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/virtual/jre/jre-1.6.0.ebuild,v 1.12 2010/01/11 11:03:47 ulm Exp $
|
||||||
|
|
||||||
|
DESCRIPTION="Virtual for JRE"
|
||||||
|
HOMEPAGE=""
|
||||||
|
SRC_URI=""
|
||||||
|
|
||||||
|
LICENSE=""
|
||||||
|
SLOT="1.6"
|
||||||
|
KEYWORDS="amd64 ppc ppc64 x86 ~ppc-aix ~x86-fbsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="|| (
|
||||||
|
=virtual/jdk-1.6.0*
|
||||||
|
=dev-java/sun-jre-bin-1.6.0*
|
||||||
|
=dev-java/ibm-jre-bin-1.6.0*
|
||||||
|
=dev-java/diablo-jre-bin-1.6.0*
|
||||||
|
)"
|
||||||
|
DEPEND=""
|
Loading…
x
Reference in New Issue
Block a user