diff options
Diffstat (limited to 'dev-java/hoteqn/hoteqn-4.0.0.ebuild')
-rw-r--r-- | dev-java/hoteqn/hoteqn-4.0.0.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-java/hoteqn/hoteqn-4.0.0.ebuild b/dev-java/hoteqn/hoteqn-4.0.0.ebuild new file mode 100644 index 000000000000..d0385f5d6eed --- /dev/null +++ b/dev-java/hoteqn/hoteqn-4.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit java-pkg-2 + +DESCRIPTION="Java applet to view and display LaTeX mathematical equations" +HOMEPAGE="http://www.atp.ruhr-uni-bochum.de/VCLab/software/HotEqn/HotEqn.html" +SRC_URI="mirror://gentoo/${P}.tar.bz2" +LICENSE="GPL-3" +SLOT=0 +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" +RDEPEND=">=virtual/jre-1.4" +DEPEND=">=virtual/jdk-1.4" + +src_unpack() { + unpack "${A}" + rm -v "${S}"/mHotEqn.java || die +} + +src_compile() { + ejavac -nowarn -d classes $(find . -name "*.java") || die "failed to build" + jar cf ${PN}.jar -C classes . || die "failed to create jar" +} + +src_install() { + java-pkg_dojar ${PN}.jar +} + +pkg_postinst() { + elog "We don't currently build the browser applet part. File a bug if you need it." +} |