1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 JAVA_PKG_IUSE="doc source"
9 inherit java-pkg-2 java-pkg-simple
11 DESCRIPTION="A YAML 1.1 parser and emitter for Java 5"
12 HOMEPAGE="https://bitbucket.org/asomov/snakeyaml"
13 SRC_URI="https://snakeyaml.googlecode.com/files/SnakeYAML-all-${PV}.zip"
20 DEPEND=">=virtual/jdk-1.5"
21 RDEPEND=">=virtual/jre-1.5"
24 JAVA_SRC_DIR="src/main/java"
27 find "${WORKDIR}" -name '*.class' -exec rm {} +
29 # Easier to use java-pkg-simple.
34 java-pkg-simple_src_install
35 dodoc AUTHORS src/etc/announcement.msg