summaryrefslogtreecommitdiff
blob: e4dc79a21962b644bd4a0cf8f509e782a6000b21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit java-utils-2

# This is binary package, as YUI compressor replaces few classes from Rhino,
# packaging this the right way will be a PITA.

DESCRIPTION="Tool that supports the compression of both JavaScript and CSS files"
HOMEPAGE="http://yuilibrary.com/projects/yuicompressor/"
SRC_URI="http://yui.zenfs.com/releases/yuicompressor/${P}.zip"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="app-arch/unzip
	>=virtual/jre-1.5"
RDEPEND=">=virtual/jre-1.5"

src_install() {
	java-pkg_newjar "build/${P}.jar" "${PN}.jar"
	java-pkg_dolauncher "${PN}"
}