diff options
Diffstat (limited to 'dev-util/yuicompressor')
-rw-r--r-- | dev-util/yuicompressor/Manifest | 4 | ||||
-rw-r--r-- | dev-util/yuicompressor/metadata.xml | 16 | ||||
-rw-r--r-- | dev-util/yuicompressor/yuicompressor-2.4.8-r2.ebuild | 47 |
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-util/yuicompressor/Manifest b/dev-util/yuicompressor/Manifest new file mode 100644 index 000000000000..00863ddb6345 --- /dev/null +++ b/dev-util/yuicompressor/Manifest @@ -0,0 +1,4 @@ +DIST yuicompressor-2.4.8.tar.gz 1254322 SHA256 199ed2e4a05330b72cc1802347e2ae449112bb955894d44f596c1ef7319167bf SHA512 cb955fc3677f930403f4f97aaad5d6ca5ec6ee834f464005ddfd8d83c4a532180859b72d55a4025b13f05a6a0146a1391d93668452e57035d4fc4f4d7f20d00b WHIRLPOOL 275ce13b4f61c85e610f16016a5b0f5ef75b04f0ff40463a148c8e037521b8a1f983f0b63bbc9c2ea7a14c46a5854d5d586e017518cda0493d4fb25a91d8c2e1 +EBUILD yuicompressor-2.4.8-r2.ebuild 1071 SHA256 bdfb0edee2ce3ea580b58bd2c72e87cbb79552e1a6f4d6d1566ab9c66a25e699 SHA512 e050c2ccee9e34294c8be404a74f977f0f81d0c28491f94dd51fee63e835acbd5cca6a1d42500e1e1a3b6292f5d51f8c952fc89112c0d35c5199f9a5d2dca051 WHIRLPOOL d66f147def96b169f401c1ab97745cf2fca7769c8b485dff6ef95f30bce9ff41e7b730f9f03941f54525bc0dcf924ea04b2cbad6d9184b90477478ca83f2dcb9 +MISC ChangeLog 1971 SHA256 f6cf411aec6812e78aeea19ff8dd6a1c8df312fcd7da3063836223e213f20ec3 SHA512 1d9d07a8a88bacacaa18e18c578436f021f11e34ef7028b4b0c6da64ea97f2d7d70643fefe9d6935f29160ca2e6723cdc3a366ba66b79f65315decaebbe1141e WHIRLPOOL c27eb4566d9e456f24248ace5a1c52b6b95a84e91f9b9537b59aa02def5e17825cc6d38cf90d052b1d7a7a334bd16277de46129ba722f3450e2205ef77e3cd49 +MISC metadata.xml 492 SHA256 ea82e9d9c927971207f276b9e248f7fa9f531839a212faff4f5429c6a08b43f9 SHA512 699d1b2c881c60855eb94b7744c6134ce4006548d01394e584059cde9837c91df3680357b79579f3b9af07666d50e68d357b571e6deabb191b7798a514c5ac6a WHIRLPOOL eb5b021504a44f8ca7b795ba71fa16b04e9b5788335fae14bd54dfb039a5c3e5321d5d4bf8a2f661a1422cd5c42b357ce397b178d345c0c497f1c5de014071fe diff --git a/dev-util/yuicompressor/metadata.xml b/dev-util/yuicompressor/metadata.xml new file mode 100644 index 000000000000..5c7f3dccbe10 --- /dev/null +++ b/dev-util/yuicompressor/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>hydrapolic@gmail.com</email> + <name>Tomas Mozes</name> + <description>Proxy maintainer</description> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">yui/yuicompressor</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-util/yuicompressor/yuicompressor-2.4.8-r2.ebuild b/dev-util/yuicompressor/yuicompressor-2.4.8-r2.ebuild new file mode 100644 index 000000000000..c3ae956f568b --- /dev/null +++ b/dev-util/yuicompressor/yuicompressor-2.4.8-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +RHINO_JAR="lib/rhino-1.7R2.jar" +JAVA_PKG_IUSE="doc source" + +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" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.6" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +S="${WORKDIR}/${P}" +JAVA_GENTOO_CLASSPATH="jargs" +JAVA_GENTOO_CLASSPATH_EXTRA="${S}/${RHINO_JAR}" +JAVA_SRC_DIR="src" + +java_prepare() { + # Rhino must stay bundled for now. + rm -v lib/jargs*.jar || die + + # Normally build.xml does this. + sed -i "s/@VERSION@/${PV}/g" \ + src/com/yahoo/platform/yui/compressor/YUICompressor.java || die +} + +src_install() { + java-pkg-simple_src_install + java-pkg_newjar ${RHINO_JAR} rhino.jar # Install this last!! + java-pkg_dolauncher ${PN} --main com.yahoo.platform.yui.compressor.Bootstrap +} |