diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2015-05-26 13:58:25 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2015-05-26 13:58:25 +0000 |
commit | bdbff36aa62ec0b4fd3e3ec85b213c17397b190b (patch) | |
tree | 4bdf37f43e91f17054d61cf40b494261c73ede95 /net-misc/java-wakeonlan | |
parent | Move to virtual (diff) | |
download | gentoo-2-bdbff36aa62ec0b4fd3e3ec85b213c17397b190b.tar.gz gentoo-2-bdbff36aa62ec0b4fd3e3ec85b213c17397b190b.tar.bz2 gentoo-2-bdbff36aa62ec0b4fd3e3ec85b213c17397b190b.zip |
EAPI 5 bump. Fix bug 550462.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)
Diffstat (limited to 'net-misc/java-wakeonlan')
-rw-r--r-- | net-misc/java-wakeonlan/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/java-wakeonlan/java-wakeonlan-1.0.0-r2.ebuild | 59 |
2 files changed, 67 insertions, 2 deletions
diff --git a/net-misc/java-wakeonlan/ChangeLog b/net-misc/java-wakeonlan/ChangeLog index bb02efd40a10..a45c89298b37 100644 --- a/net-misc/java-wakeonlan/ChangeLog +++ b/net-misc/java-wakeonlan/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/java-wakeonlan -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/java-wakeonlan/ChangeLog,v 1.18 2014/06/27 14:02:00 mrueg Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/java-wakeonlan/ChangeLog,v 1.19 2015/05/26 13:58:25 monsieurp Exp $ + +*java-wakeonlan-1.0.0-r2 (26 May 2015) + + 26 May 2015; Patrice Clement <monsieurp@gentoo.org> + +java-wakeonlan-1.0.0-r2.ebuild: + EAPI 5 bump. Fix bug 550462. 27 Jun 2014; Manuel Rüger <mrueg@gentoo.org> -java-wakeonlan-1.0.0.ebuild: NM: Cleanup old. diff --git a/net-misc/java-wakeonlan/java-wakeonlan-1.0.0-r2.ebuild b/net-misc/java-wakeonlan/java-wakeonlan-1.0.0-r2.ebuild new file mode 100644 index 000000000000..b36668573de0 --- /dev/null +++ b/net-misc/java-wakeonlan/java-wakeonlan-1.0.0-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 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-r2.ebuild,v 1.1 2015/05/26 13:58:25 monsieurp Exp $ + +EAPI=5 +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="~amd64 ~ppc ~x86" +IUSE="test" + +CDEPEND="dev-java/jsap:0 + dev-java/junit:4" +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.6 + app-arch/unzip + test? ( + dev-java/ant-junit:0 + ) + ${CDEPEND}" + +S=${WORKDIR}/wakeonlan-${PV} + +EANT_GENTOO_CLASSPATH="jsap" +EANT_BUILD_TARGET="deploy" +JAVA_ANT_CLASSPATH_TAGS+=" javadoc" + +src_unpack() { + unpack ${A} +} + +java_prepare() { + cd "${S}" + epatch "${FILESDIR}"/${P}-build.xml.patch + find -name "*.jar" | xargs rm -v + java-ant_rewrite-classpath +} + +EANT_TEST_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4" +EANT_TEST_TARGET="test" + +src_test() { + java-pkg-2_src_test +} + +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 +} |