Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/hoteqn/
Date: Sat, 20 Feb 2016 01:14:53
Message-Id: 1455930732.9501622c9a48ea74cd6d68fba788e5688838059a.monsieurp@gentoo
1 commit: 9501622c9a48ea74cd6d68fba788e5688838059a
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 20 00:36:35 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 20 01:12:12 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9501622c
7
8 dev-java/hoteqn: EAPI 5 bump. Switch to java-pkg-simple.
9
10 Package-Manager: portage-2.2.26
11
12 dev-java/hoteqn/hoteqn-4.0.0-r1.ebuild | 37 ++++++++++++++++++++++++++++++++++
13 1 file changed, 37 insertions(+)
14
15 diff --git a/dev-java/hoteqn/hoteqn-4.0.0-r1.ebuild b/dev-java/hoteqn/hoteqn-4.0.0-r1.ebuild
16 new file mode 100644
17 index 0000000..7d69aae
18 --- /dev/null
19 +++ b/dev-java/hoteqn/hoteqn-4.0.0-r1.ebuild
20 @@ -0,0 +1,37 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=5
26 +
27 +JAVA_PKG_IUSE="doc source"
28 +
29 +inherit java-pkg-2 java-pkg-simple
30 +
31 +DESCRIPTION="Java applet to view and display LaTeX mathematical equations"
32 +HOMEPAGE="http://www.atp.ruhr-uni-bochum.de/VCLab/software/HotEqn/HotEqn.html"
33 +SRC_URI="mirror://gentoo/${P}.tar.bz2"
34 +LICENSE="GPL-3"
35 +SLOT=0
36 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
37 +IUSE=""
38 +
39 +RDEPEND="
40 + >=virtual/jre-1.6"
41 +
42 +DEPEND="
43 + app-arch/unzip
44 + >=virtual/jdk-1.6"
45 +
46 +JAVA_ENCODING="ISO-8859-1"
47 +
48 +S="${WORKDIR}/${P}"
49 +
50 +java_prepare() {
51 + rm -v mHotEqn.java || die
52 +}
53 +
54 +src_compile() {
55 + java-pkg-simple_src_compile
56 + java-pkg_addres "${PN}.jar" classes/ -name "*.gif"
57 +}