summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2007-04-21 12:31:34 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2007-04-21 12:31:34 +0000
commit986355a5154c9aef3f686035898cbc9384c6ca74 (patch)
tree222999ef4185ca44c0732260fa60202d73f62436 /net-misc
parentVersion bump (diff)
downloadhistorical-986355a5154c9aef3f686035898cbc9384c6ca74.tar.gz
historical-986355a5154c9aef3f686035898cbc9384c6ca74.tar.bz2
historical-986355a5154c9aef3f686035898cbc9384c6ca74.zip
Version bump
Package-Manager: portage-2.1.2.4
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/java-wakeonlan/ChangeLog5
-rw-r--r--net-misc/java-wakeonlan/files/digest-java-wakeonlan-1.0.03
-rw-r--r--net-misc/java-wakeonlan/java-wakeonlan-1.0.0.ebuild48
3 files changed, 55 insertions, 1 deletions
diff --git a/net-misc/java-wakeonlan/ChangeLog b/net-misc/java-wakeonlan/ChangeLog
index bf5ba96084e1..cff755b43ecf 100644
--- a/net-misc/java-wakeonlan/ChangeLog
+++ b/net-misc/java-wakeonlan/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/java-wakeonlan
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/java-wakeonlan/ChangeLog,v 1.8 2007/02/22 02:27:32 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/java-wakeonlan/ChangeLog,v 1.9 2007/04/21 12:31:34 fordfrog Exp $
+
+ 21 Apr 2007; Miroslav Šulc <fordfrog@gentoo.org> ChangeLog:
+ Version bump
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/net-misc/java-wakeonlan/files/digest-java-wakeonlan-1.0.0 b/net-misc/java-wakeonlan/files/digest-java-wakeonlan-1.0.0
new file mode 100644
index 000000000000..5a6e22a3c0a4
--- /dev/null
+++ b/net-misc/java-wakeonlan/files/digest-java-wakeonlan-1.0.0
@@ -0,0 +1,3 @@
+MD5 730a70b816bbf644423a153b159e23db wakeonlan-1.0.0.zip 352181
+RMD160 e143ad2c3a180bb0791863ba7eda91239fd284c6 wakeonlan-1.0.0.zip 352181
+SHA256 dfcdb54eb1333b5f9be74d7f493f68fce496d031b9b81656740e8b2fd1d62e43 wakeonlan-1.0.0.zip 352181
diff --git a/net-misc/java-wakeonlan/java-wakeonlan-1.0.0.ebuild b/net-misc/java-wakeonlan/java-wakeonlan-1.0.0.ebuild
new file mode 100644
index 000000000000..a260dc9b0acd
--- /dev/null
+++ b/net-misc/java-wakeonlan/java-wakeonlan-1.0.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/java-wakeonlan/java-wakeonlan-1.0.0.ebuild,v 1.1 2007/04/21 12:30:39 fordfrog Exp $
+
+JAVA_PKG_IUSE="doc source"
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="A wakeonlan commandline tool and Java library"
+SRC_URI="http://www.moldaner.de/wakeonlan/download/wakeonlan-${PV}.zip"
+HOMEPAGE="http://www.moldaner.de/wakeonlan/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="test"
+
+COMMON_DEPEND="dev-java/jsap"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEPEND}"
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ app-arch/unzip
+ test? ( =dev-java/junit-3.8* )
+ ${COMMON_DEPEND}"
+
+S=${WORKDIR}/wakeonlan-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ find -name "*.jar" | xargs rm -v
+ java-ant_rewrite-classpath
+}
+
+src_compile() {
+ eant deploy -Dgentoo.classpath=$(java-pkg_getjars jsap):$(java-pkg_getjars --build-only junit) $(use_doc)
+}
+
+src_test() {
+ ANT_TASKS="ant-junit" eant test -Dgentoo.classpath=$(java-pkg_getjars jsap):$(java-pkg_getjars --build-only junit)
+}
+
+src_install() {
+ java-pkg_dojar deploy/wakeonlan.jar
+ java-pkg_dolauncher ${PN} --main wol.WakeOnLan
+ dodoc doc/README
+ use doc && java-pkg_dojavadoc deploy/doc/javadoc
+ use source && java-pkg_dosrc src/wol
+}