mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-23 18:38:08 -07:00
* Since all ebuilds in the tree are EAPI>=4, `|| die` on builtin commands is redundant and dead code. Closes: https://github.com/gentoo/gentoo/pull/13940 Reviewed-by: Ulrich Müller <ulm@gentoo.org> Reviewed-by: Michał Górny <mgorny@gentoo.org> Reviewed-by: Andreas K. Hüttel <dilfridge@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
33 lines
694 B
Bash
33 lines
694 B
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
JAVA_PKG_IUSE="doc source"
|
|
|
|
inherit java-pkg-2 java-ant-2
|
|
|
|
DESCRIPTION="HelpGUI is a simple library which develop a help viewer component"
|
|
HOMEPAGE="http://helpgui.sourceforge.net/"
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}-src.jar"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE=""
|
|
|
|
DEPEND=">=virtual/jdk-1.4
|
|
app-arch/unzip"
|
|
RDEPEND=">=virtual/jre-1.4"
|
|
|
|
EANT_BUILD_TARGET="helpgui_jar"
|
|
EANT_DOC_TARGET="javadocs"
|
|
|
|
src_install() {
|
|
java-pkg_newjar build/${P}.jar ${PN}.jar
|
|
|
|
dodoc README
|
|
use doc && java-pkg_dojavadoc build/docs/api
|
|
use source && java-pkg_dosrc src/*
|
|
}
|