diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-07-16 20:18:56 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-07-16 20:18:56 +0000 |
commit | 2bd96bfa56375f1618625c679d98861bacdf5fc9 (patch) | |
tree | f25d7f2f71af53cd8a8bc834976efe2447c29972 /net-misc/java-wakeonlan | |
parent | Marked stable on x86. Removed old ebuild. (diff) | |
download | historical-2bd96bfa56375f1618625c679d98861bacdf5fc9.tar.gz historical-2bd96bfa56375f1618625c679d98861bacdf5fc9.tar.bz2 historical-2bd96bfa56375f1618625c679d98861bacdf5fc9.zip |
another package nobody ever merges and was broken
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'net-misc/java-wakeonlan')
-rw-r--r-- | net-misc/java-wakeonlan/Manifest | 12 | ||||
-rw-r--r-- | net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild | 30 |
2 files changed, 29 insertions, 13 deletions
diff --git a/net-misc/java-wakeonlan/Manifest b/net-misc/java-wakeonlan/Manifest index af8f0ce10f5a..88a5b869b5ea 100644 --- a/net-misc/java-wakeonlan/Manifest +++ b/net-misc/java-wakeonlan/Manifest @@ -1,4 +1,14 @@ -MD5 03e5f71426cdffc7efbab1d57fddfa35 java-wakeonlan-0.3.0.ebuild 1211 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 cba6992f0036d8a0c91c2efe46c0ed20 java-wakeonlan-0.3.0.ebuild 1204 MD5 d15fff6718b66570403494ed08bfb610 ChangeLog 934 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 1bd00f96eeec73cd7015b5d6563291a1 files/digest-java-wakeonlan-0.3.0 67 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFC2WvM/rLF9B432nYRApaeAJwLaoNAWuVfVzrYakFEcQXTn7u6UACeK4k2 +xjzSUcELpB2/TJU0b+rEZE8= +=4lgl +-----END PGP SIGNATURE----- diff --git a/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild b/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild index a623d73194a5..b8d95f5b5ea6 100644 --- a/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild +++ b/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # 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.6 2005/02/17 17:53:03 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/java-wakeonlan/java-wakeonlan-0.3.0.ebuild,v 1.7 2005/07/16 20:18:56 axxo Exp $ inherit java-pkg @@ -12,29 +12,35 @@ SLOT="0" KEYWORDS="x86 ~ppc ~sparc" IUSE="doc" -DEPEND=">=virtual/jdk-1.3 - >=dev-java/ant-1.4 +RDEPEND=">=virtual/jre-1.3 >=dev-java/commons-logging-1.0.2 - >=dev-java/commons-cli-1.0 + >=dev-java/commons-cli-1.0" +DEPEND=">=virtual/jdk-1.3 + ${RDEPEND} + dev-java/ant-core app-arch/unzip" -RDEPEND=">=virtual/jdk-1.3" S=${WORKDIR}/wakeonlan -src_compile() { - rm lib/commons-cli-1.0.jar - rm lib/commons-logging.jar +src_unpack() { + unpack ${A} + cd ${S}/lib + rm *.jar + java-pkg_jarfrom commons-logging + java-pkg_jarfrom commons-cli-1 +} - CLASSPATH=`java-config --classpath=commons-logging,commons-cli` - ant -Dbuild.classpath=${CLASSPATH} deploy || die - use doc && ant -Dbuild.classpath=${CLASSPATH} javadoc +src_compile() { + local antflags="deploy" + use doc && antflags="${antflags} javadoc" + ant ${antflags} || die } src_install() { java-pkg_dojar deploy/wakeonlan.jar echo "#!/bin/sh" > ${PN} - echo '${JAVA_HOME}'/bin/java -cp '$(java-config -p commons-logging,commons-cli,java-wakeonlan)' wol.WakeOnLan '$*' >> ${PN} + echo '${JAVA_HOME}'/bin/java -cp '$(java-config -p commons-logging,commons-cli-1,java-wakeonlan)' wol.WakeOnLan '$*' >> ${PN} dobin ${PN} dodoc doc/README |