aboutsummaryrefslogtreecommitdiff
blob: ce6ef32c63cce48ed5a85327ec5ad65da90e1d3f (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
29
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"
JAVA_PKG_IUSE="source"

inherit eutils java-pkg-2 java-pkg-simple

SLOT="0"
DESCRIPTION="W3C DOM SMIL - Java Bindings"
HOMEPAGE="http://www.w3.org/TR/SVG11/java.html"
SRC_URI="http://www.w3.org/TR/2011/REC-SVG11-20110816/java-binding.zip -> ${PN}.zip"

LICENSE="W3C"
KEYWORDS="~amd64 ~x86"

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

src_prepare() {
	rm -rf "${WORKDIR}/org/w3c/dom/svg" || die "could not delete folder 'svg'"
}

src_install() {
	java-pkg_dojar "${PN}.jar"
	use source && java-pkg_dosrc org
}