Package-Manager: portage-2.3.0
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-
EAPI=6
JAVA_PKG_IUSE="doc source"
JAVA_GENTOO_CLASSPATH="jaxme"
+DOCS=( README.txt jsr173_1.0.pdf )
+
src_unpack() {
cd "${S}" || die
jar xvf "${DISTDIR}/${A}" || die "failed to unpack"
src_prepare() {
default
- cd "${S}" || die
java-pkg_clean
}
src_compile() {
java-pkg-simple_src_compile
}
+
+src_install() {
+ java-pkg-simple_src_install
+ use doc && einstalldocs
+}