summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-18 15:43:04 +0000
committerMike Frysinger <vapier@gentoo.org>2012-04-18 15:43:04 +0000
commitd5679495a3f2a1ea97677aa19d21ce0012e70743 (patch)
treeeb6888dc57bbf2591148acaef5925417d8abe6bb /dev-lang/closure-compiler-bin
parentreflect removed skalibs dependency (diff)
downloadgentoo-2-d5679495a3f2a1ea97677aa19d21ce0012e70743.tar.gz
gentoo-2-d5679495a3f2a1ea97677aa19d21ce0012e70743.tar.bz2
gentoo-2-d5679495a3f2a1ea97677aa19d21ce0012e70743.zip
Initial ebuild for ChromiumOS.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/closure-compiler-bin')
-rw-r--r--dev-lang/closure-compiler-bin/ChangeLog10
-rw-r--r--dev-lang/closure-compiler-bin/closure-compiler-bin-20120305.ebuild30
-rw-r--r--dev-lang/closure-compiler-bin/metadata.xml9
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-lang/closure-compiler-bin/ChangeLog b/dev-lang/closure-compiler-bin/ChangeLog
new file mode 100644
index 000000000000..1cdc73ec5859
--- /dev/null
+++ b/dev-lang/closure-compiler-bin/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-lang/closure-compiler-bin
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/closure-compiler-bin/ChangeLog,v 1.1 2012/04/18 15:43:04 vapier Exp $
+
+*closure-compiler-bin-20120305 (18 Apr 2012)
+
+ 18 Apr 2012; Mike Frysinger <vapier@gentoo.org>
+ +closure-compiler-bin-20120305.ebuild, +metadata.xml:
+ Initial ebuild for ChromiumOS.
+
diff --git a/dev-lang/closure-compiler-bin/closure-compiler-bin-20120305.ebuild b/dev-lang/closure-compiler-bin/closure-compiler-bin-20120305.ebuild
new file mode 100644
index 000000000000..0c8a5f97ab1e
--- /dev/null
+++ b/dev-lang/closure-compiler-bin/closure-compiler-bin-20120305.ebuild
@@ -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
+}
diff --git a/dev-lang/closure-compiler-bin/metadata.xml b/dev-lang/closure-compiler-bin/metadata.xml
new file mode 100644
index 000000000000..f587472d32a7
--- /dev/null
+++ b/dev-lang/closure-compiler-bin/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+<maintainer>
+ <email>vapier@gentoo.org</email>
+ <description>make whatever changes you want except for removal -- i need a compiler that avoids installing a jdk</description>
+</maintainer>
+</pkgmetadata>