summaryrefslogtreecommitdiff
blob: 64200b06685004059fe0e24c4e3b5b3f385ded77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/openjnlp/openjnlp-0.7.1.ebuild,v 1.1 2004/02/22 02:37:25 zx Exp $

inherit java-pkg

DESCRIPTION="An open-source implementation of the JNLP"
HOMEPAGE="http://openjnlp.nanode.org/"
SRC_URI="mirror://sourceforge/openjnlp/${P/openjnlp/OpenJNLP}.tar.gz"
LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~alpha"
IUSE=""
RDEPEND="virtual/jre"

S=${WORKDIR}/${P/openjnlp/OpenJNLP}

src_compile() { :; }

src_install() {
	java-pkg_dojar lib/*.jar

	echo "#!/bin/sh" > ${PN}
	echo '${JAVA_HOME}'/bin/java -cp `java-config --classpath=openjnlp` org.nanode.app.OpenJNLP '$*' >> ${PN}

	dodoc {History,ReadMe}.txt

	dobin ${PN}
}