summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-11 02:47:17 +0000
committerMike Frysinger <vapier@gentoo.org>2015-03-11 02:47:17 +0000
commit997f32a83dce91a66865bfbf1ae65183372cfa1e (patch)
tree3a128755d0f85d3e52aec67d275636141937ddb2 /dev-lang/closure-compiler-bin/closure-compiler-bin-20150126.ebuild
parentFix iuse/metadata (diff)
downloadhistorical-997f32a83dce91a66865bfbf1ae65183372cfa1e.tar.gz
historical-997f32a83dce91a66865bfbf1ae65183372cfa1e.tar.bz2
historical-997f32a83dce91a66865bfbf1ae65183372cfa1e.zip
Version bump #542802 by gromalle.
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xD2E96200
Diffstat (limited to 'dev-lang/closure-compiler-bin/closure-compiler-bin-20150126.ebuild')
-rw-r--r--dev-lang/closure-compiler-bin/closure-compiler-bin-20150126.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-lang/closure-compiler-bin/closure-compiler-bin-20150126.ebuild b/dev-lang/closure-compiler-bin/closure-compiler-bin-20150126.ebuild
new file mode 100644
index 000000000000..b5b5b18b5d0f
--- /dev/null
+++ b/dev-lang/closure-compiler-bin/closure-compiler-bin-20150126.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 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-20150126.ebuild,v 1.1 2015/03/11 02:47:15 vapier Exp $
+
+EAPI="4"
+
+inherit java-pkg-2
+
+DESCRIPTION="JavaScript optimizing compiler"
+HOMEPAGE="https://github.com/google/closure-compiler"
+SRC_URI="http://dl.google.com/closure-compiler/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.md
+}