dev-util/yuicompressor: Unbundle jargs and rhino. Fixes bug 571812.
authorPatrice Clement <monsieurp@gentoo.org>
Tue, 9 Feb 2016 10:49:28 +0000 (10:49 +0000)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 9 Feb 2016 10:51:22 +0000 (10:51 +0000)
Thanks Tomáš Mózes <hydrapolic@gmail.com> for helping.

Package-Manager: portage-2.2.26
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
dev-util/yuicompressor/yuicompressor-2.4.8-r1.ebuild [new file with mode: 0644]

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 (file)
index 0000000..0a14be3
--- /dev/null
@@ -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
+}