summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-02-09 10:49:28 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-02-09 10:51:22 +0000
commit5ae2d15109743a70a9bf284801d9fb41c8435064 (patch)
tree02669025b9752fb9a0afeb1a33a3cb531ff26395 /dev-util/yuicompressor
parentdev-ml/ocaml-redis: initial import; ebuild by me (diff)
downloadgentoo-5ae2d15109743a70a9bf284801d9fb41c8435064.tar.gz
gentoo-5ae2d15109743a70a9bf284801d9fb41c8435064.tar.bz2
gentoo-5ae2d15109743a70a9bf284801d9fb41c8435064.zip
dev-util/yuicompressor: Unbundle jargs and rhino. Fixes bug 571812.
Thanks Tomáš Mózes <hydrapolic@gmail.com> for helping. Package-Manager: portage-2.2.26 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-util/yuicompressor')
-rw-r--r--dev-util/yuicompressor/yuicompressor-2.4.8-r1.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-util/yuicompressor/yuicompressor-2.4.8-r1.ebuild b/dev-util/yuicompressor/yuicompressor-2.4.8-r1.ebuild
new file mode 100644
index 000000000000..0a14be33bbcb
--- /dev/null
+++ b/dev-util/yuicompressor/yuicompressor-2.4.8-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="JavaScript and CSS compressor"
+HOMEPAGE="http://yui.github.io/yuicompressor/"
+SRC_URI="https://github.com/yui/yuicompressor/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="
+ dev-java/jargs:0
+ dev-java/rhino:1.6"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+S="${WORKDIR}/${P}"
+
+JAVA_GENTOO_CLASSPATH="
+ jargs
+ rhino-1.6
+"
+
+JAVA_SRC_DIR="src"
+
+java_prepare() {
+ java-pkg_clean
+}