diff options
author | Serkan Kaba <serkan@gentoo.org> | 2009-01-31 10:06:31 +0000 |
---|---|---|
committer | Serkan Kaba <serkan@gentoo.org> | 2009-01-31 10:06:31 +0000 |
commit | 97ca802036574b12306e7e90c141482329c50dbb (patch) | |
tree | 41b892de9b69cfb67e45c569d04e4f1ee173a1a5 /net-misc/java-wakeonlan | |
parent | added ~ppc for bug #240433 (diff) | |
download | historical-97ca802036574b12306e7e90c141482329c50dbb.tar.gz historical-97ca802036574b12306e7e90c141482329c50dbb.tar.bz2 historical-97ca802036574b12306e7e90c141482329c50dbb.zip |
Revbump to avoid bundling of unit tests in the jar. Add jsap to javadoc classpath. Keyword for amd64.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-misc/java-wakeonlan')
-rw-r--r-- | net-misc/java-wakeonlan/ChangeLog | 12 | ||||
-rw-r--r-- | net-misc/java-wakeonlan/Manifest | 14 | ||||
-rw-r--r-- | net-misc/java-wakeonlan/files/java-wakeonlan-1.0.0-build.xml.patch | 43 | ||||
-rw-r--r-- | net-misc/java-wakeonlan/java-wakeonlan-1.0.0-r1.ebuild | 49 |
4 files changed, 115 insertions, 3 deletions
diff --git a/net-misc/java-wakeonlan/ChangeLog b/net-misc/java-wakeonlan/ChangeLog index 25546b9b0e68..57ca529630aa 100644 --- a/net-misc/java-wakeonlan/ChangeLog +++ b/net-misc/java-wakeonlan/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-misc/java-wakeonlan -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/java-wakeonlan/ChangeLog,v 1.13 2008/02/02 17:35:08 caster Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/java-wakeonlan/ChangeLog,v 1.14 2009/01/31 10:06:31 serkan Exp $ + +*java-wakeonlan-1.0.0-r1 (31 Jan 2009) + + 31 Jan 2009; Serkan Kaba <serkan@gentoo.org> + +files/java-wakeonlan-1.0.0-build.xml.patch, + +java-wakeonlan-1.0.0-r1.ebuild: + Revbump to avoid bundling of unit tests in the jar. Add jsap to javadoc + classpath. Keyword for amd64. 02 Feb 2008; Vlastimil Babka <caster@gentoo.org> -java-wakeonlan-0.3.0.ebuild: diff --git a/net-misc/java-wakeonlan/Manifest b/net-misc/java-wakeonlan/Manifest index 8b7b2514f02d..b1ccc76939f1 100644 --- a/net-misc/java-wakeonlan/Manifest +++ b/net-misc/java-wakeonlan/Manifest @@ -1,4 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX java-wakeonlan-1.0.0-build.xml.patch 1134 RMD160 cfdc7f7ce2201310091e6365a29260dbe71c5cc9 SHA1 35177a745dcf34cc00c9b217dd4825ba0a969be7 SHA256 ce7bc0637fb69d4eb293a94640bc2b66160f7d736b3db124e7ba20e81f368e98 DIST wakeonlan-1.0.0.zip 352181 RMD160 e143ad2c3a180bb0791863ba7eda91239fd284c6 SHA1 8da8b21d8248299104d24f351524ece1cb2ec47a SHA256 dfcdb54eb1333b5f9be74d7f493f68fce496d031b9b81656740e8b2fd1d62e43 +EBUILD java-wakeonlan-1.0.0-r1.ebuild 1321 RMD160 543ceba1f75da29faf0ea692fca6eb1668bfa9c0 SHA1 755bde927a784295a248c08208c91de33495248b SHA256 ebc9c8825bffa2ece5b8b0d083c0692f5737e646d77ac3c1dc0dfad2bd7937ac EBUILD java-wakeonlan-1.0.0.ebuild 1311 RMD160 d822d3505f77181842b19a8e61520fedec5b8555 SHA1 b23129cb4442e384c702f920d3519c53219b2d94 SHA256 bf2c7af116e350c96e6e30217bd0a1015bb040837c9a94e82f655b96d616bce6 -MISC ChangeLog 1619 RMD160 05d67db1c33959d71b0869d2580dc9af137a03e0 SHA1 e25debe9a75618141b7f4087f0db37248adecd9d SHA256 26390b753b991283daa5efc90f687448cdf2fd0ecfa26c2015f94dd298c61b2e +MISC ChangeLog 1895 RMD160 115b977f888bcacdf8d3d0ff5b91b52d128204e0 SHA1 09a71062c6f2544d889389bbbff2942a5507b696 SHA256 0f48e871108349fb9302ebbff8dbf9ba43087f67d45fb497eefd536c3041c4c7 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkmEIqwACgkQRh6X64ivZaIFCQCeLDUmvPf3gydJ7BYPWIWBJgzK +j7wAn0/uXDtppLBF1iHgmTjojz+ncIYi +=IeCq +-----END PGP SIGNATURE----- diff --git a/net-misc/java-wakeonlan/files/java-wakeonlan-1.0.0-build.xml.patch b/net-misc/java-wakeonlan/files/java-wakeonlan-1.0.0-build.xml.patch new file mode 100644 index 000000000000..d3c352bd52d1 --- /dev/null +++ b/net-misc/java-wakeonlan/files/java-wakeonlan-1.0.0-build.xml.patch @@ -0,0 +1,43 @@ +--- build.xml 2004-06-03 16:21:44.000000000 +0300 ++++ build.xml.fixed 2009-01-31 11:48:56.000000000 +0200 +@@ -38,7 +38,6 @@ + target="${build.target}" + classpathref="build.classpath" > + <src path="${src.dir}" /> +- <src path="${testsrc.dir}" /> + </javac> + <copy todir="${build.classes.dir}" overwrite="true"> + <fileset dir="${src.dir}"> +@@ -56,6 +55,16 @@ + </copy> + </target> + ++ <target name="build-test"> ++ <javac destdir="${build.classes.dir}" ++ debug="${build.debug}" ++ optimize="${build.optimize}" ++ target="${build.target}" ++ classpathref="build.classpath" > ++ <src path="${testsrc.dir}" /> ++ </javac> ++ </target> ++ + <target name="init.javadoc"> + <mkdir dir="${deploy.javadoc.dir}"/> + </target> +@@ -74,7 +83,7 @@ + </javadoc> + </target> + +- <target name="test" depends="build"> ++ <target name="test" depends="build-test"> + <junit showoutput="true" printsummary="true"> + <classpath > + <path refid="build.classpath" /> +@@ -179,4 +188,4 @@ + <antcall target="deploy.ws" /> + <antcall target="deploy.zip" /> + </target> +-</project> +\ Dosya sonunda yenisatır yok. ++</project> diff --git a/net-misc/java-wakeonlan/java-wakeonlan-1.0.0-r1.ebuild b/net-misc/java-wakeonlan/java-wakeonlan-1.0.0-r1.ebuild new file mode 100644 index 000000000000..145c3ac9537f --- /dev/null +++ b/net-misc/java-wakeonlan/java-wakeonlan-1.0.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2009 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-r1.ebuild,v 1.1 2009/01/31 10:06:31 serkan Exp $ + +EAPI="1" +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 ~x86" +IUSE="test" + +COMMON_DEPEND="dev-java/jsap:0" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEPEND}" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + test? ( dev-java/junit:0 ) + ${COMMON_DEPEND}" + +S=${WORKDIR}/wakeonlan-${PV} + +EANT_GENTOO_CLASSPATH="jsap" +EANT_BUILD_TARGET="deploy" +JAVA_ANT_CLASSPATH_TAGS+=" javadoc" + +src_unpack() { + unpack ${A} + cd "${S}" + find -name "*.jar" | xargs rm -v + epatch "${FILESDIR}"/${P}-build.xml.patch + java-ant_rewrite-classpath +} + +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 +} |