diff options
author | Mike Frysinger <vapier@gentoo.org> | 2017-03-10 15:30:46 -0800 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2017-03-10 15:31:59 -0800 |
commit | cc5e8d92d27b1223fcca9e10c9555711589cce2b (patch) | |
tree | 9b088ef76e68194d2d4ec35b9e2bf132d1228161 /dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild | |
parent | dev-lang/closure-compiler-bin: drop old <20150126 versions (diff) | |
download | gentoo-cc5e8d92d27b1223fcca9e10c9555711589cce2b.tar.gz gentoo-cc5e8d92d27b1223fcca9e10c9555711589cce2b.tar.bz2 gentoo-cc5e8d92d27b1223fcca9e10c9555711589cce2b.zip |
dev-lang/closure-compiler-bin: version bump to 20170218 #585934
Diffstat (limited to 'dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild')
-rw-r--r-- | dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild b/dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild new file mode 100644 index 000000000000..de842c3bfd89 --- /dev/null +++ b/dev-lang/closure-compiler-bin/closure-compiler-bin-20170218.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit java-pkg-2 + +DESCRIPTION="JavaScript optimizing compiler" +HOMEPAGE="https://github.com/google/closure-compiler" +SRC_URI="https://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 ${PN%-bin}-v${PV}.jar ${PN}.jar + java-pkg_dolauncher \ + ${PN%-bin} \ + --jar /opt/${PN}-${SLOT}/lib/${PN}.jar \ + -into /opt + dodoc README.md +} |