diff options
author | Chris Aniszczyk <zx@gentoo.org> | 2004-02-15 05:23:26 +0000 |
---|---|---|
committer | Chris Aniszczyk <zx@gentoo.org> | 2004-02-15 05:23:26 +0000 |
commit | b2c00a8393c7e19cf30835bf248c59153b8a9516 (patch) | |
tree | 4692e0dca9576a91408cd73b97cb0f49bcf96a4a /net-misc | |
parent | Updated config.sub/guess files taken from GNU CVS (Savannah). Older versions... (diff) | |
download | gentoo-2-b2c00a8393c7e19cf30835bf248c59153b8a9516.tar.gz gentoo-2-b2c00a8393c7e19cf30835bf248c59153b8a9516.tar.bz2 gentoo-2-b2c00a8393c7e19cf30835bf248c59153b8a9516.zip |
Initial Import.
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/java-wakeonlan/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/java-wakeonlan/Manifest | 2 | ||||
-rw-r--r-- | net-misc/java-wakeonlan/files/digest-java-wakeonlan-0.3.0 | 1 | ||||
-rw-r--r-- | net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild | 48 | ||||
-rw-r--r-- | net-misc/java-wakeonlan/metadata.xml | 5 |
5 files changed, 66 insertions, 0 deletions
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 <zx@gentoo.org> java-wakeonlan-0.3.0.ebuild: + Initial Import. + Thanks Steffen Moldaner <s.moldaner@gmx.net> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +</pkgmetadata> |