From b2c00a8393c7e19cf30835bf248c59153b8a9516 Mon Sep 17 00:00:00 2001 From: Chris Aniszczyk Date: Sun, 15 Feb 2004 05:23:26 +0000 Subject: Initial Import. --- net-misc/java-wakeonlan/ChangeLog | 10 +++++ net-misc/java-wakeonlan/Manifest | 2 + .../files/digest-java-wakeonlan-0.3.0 | 1 + .../java-wakeonlan/java-wakeonlan-0.3.0.ebuild | 48 ++++++++++++++++++++++ net-misc/java-wakeonlan/metadata.xml | 5 +++ 5 files changed, 66 insertions(+) create mode 100644 net-misc/java-wakeonlan/ChangeLog create mode 100644 net-misc/java-wakeonlan/Manifest create mode 100644 net-misc/java-wakeonlan/files/digest-java-wakeonlan-0.3.0 create mode 100644 net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild create mode 100644 net-misc/java-wakeonlan/metadata.xml (limited to 'net-misc') diff --git a/net-misc/java-wakeonlan/ChangeLog b/net-misc/java-wakeonlan/ChangeLog new file mode 100644 index 000000000000..e14f476012c1 --- /dev/null +++ b/net-misc/java-wakeonlan/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/java-wakeonlan +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/java-wakeonlan/ChangeLog,v 1.1 2004/02/15 05:23:26 zx Exp $ + +*java-wakeonlan-0.3.0 (15 Feb 2004) + + 15 Feb 2004; Chris Aniszczyk java-wakeonlan-0.3.0.ebuild: + Initial Import. + Thanks Steffen Moldaner for the initial ebuild. Bug #27056 + diff --git a/net-misc/java-wakeonlan/Manifest b/net-misc/java-wakeonlan/Manifest new file mode 100644 index 000000000000..a8341aa38a59 --- /dev/null +++ b/net-misc/java-wakeonlan/Manifest @@ -0,0 +1,2 @@ +MD5 99b384ce1504b7d4906209a2f8f5ed0a java-wakeonlan-0.3.0.ebuild 1081 +MD5 1bd00f96eeec73cd7015b5d6563291a1 files/digest-java-wakeonlan-0.3.0 67 diff --git a/net-misc/java-wakeonlan/files/digest-java-wakeonlan-0.3.0 b/net-misc/java-wakeonlan/files/digest-java-wakeonlan-0.3.0 new file mode 100644 index 000000000000..e5a24ea556bb --- /dev/null +++ b/net-misc/java-wakeonlan/files/digest-java-wakeonlan-0.3.0 @@ -0,0 +1 @@ +MD5 a1d3afaca3ed08b807a5137d17f2bde9 wakeonlan-0.3.0-src.zip 59441 diff --git a/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild b/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild new file mode 100644 index 000000000000..70063582fbc4 --- /dev/null +++ b/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild,v 1.1 2004/02/15 05:23:26 zx Exp $ + +inherit java-pkg + +DESCRIPTION="A wakeonlan commandline tool and Java library" +SRC_URI="http://www.moldaner.de/wakeonlan/download/${P/java-/}-src.zip" +HOMEPAGE="http://www.moldaner.de/wakeonlan/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc" +IUSE="doc" + +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-1.4 + >=dev-java/commons-logging-1.0.2 + >=dev-java/commons-cli-1.0" +RDEPEND=">=virtual/jdk-1.3" + +S=${WORKDIR}/wakeonlan + +src_compile() { + rm lib/commons-cli-1.0.jar + rm lib/commons-logging.jar + + CLASSPATH=`java-config --classpath=commons-logging` + CLASSPATH=${CLASSPATH}:`java-config --classpath=commons-cli + ant -Dbuild.classpath=${CLASSPATH} deploy || die + use doc && ant -Dbuild.classpath=${CLASSPATH} javadoc || die +} + +src_install() { + java-pkg_dojar deploy/wakeonlan.jar + + local my_cp + my_cp=`java-config --classpath=commons-logging + my_cp=${my_cp}:`java-config --classpath=commons-cli` + my_cp=${my_cp}:`java-config --classpath=java-wakeonlan` + + echo "#!/bin/sh" > ${PN} + echo '${JAVA_HOME}'/bin/java -cp ${my_cp} wol.WakeOnLan '$*' >> ${PN} + dobin ${PN} + + dodoc doc/README + use doc && dohtml -r deploy/doc/javadoc/* +} diff --git a/net-misc/java-wakeonlan/metadata.xml b/net-misc/java-wakeonlan/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/net-misc/java-wakeonlan/metadata.xml @@ -0,0 +1,5 @@ + + + +java + -- cgit v1.2.3-65-gdbad