diff options
author | William Thomson <wltjr@gentoo.org> | 2007-01-02 19:52:16 +0000 |
---|---|---|
committer | William Thomson <wltjr@gentoo.org> | 2007-01-02 19:52:16 +0000 |
commit | 42d9c8805f487e0a6810d786c27a55d3c6d3172e (patch) | |
tree | 0a0097f99aa585d5451bdee4fbab018c66c5e731 /net-p2p/limewire | |
parent | version bump from upstream (diff) | |
download | gentoo-2-42d9c8805f487e0a6810d786c27a55d3c6d3172e.tar.gz gentoo-2-42d9c8805f487e0a6810d786c27a55d3c6d3172e.tar.bz2 gentoo-2-42d9c8805f487e0a6810d786c27a55d3c6d3172e.zip |
Unbundled a few jars
(Portage version: 2.1.1-r2)
Diffstat (limited to 'net-p2p/limewire')
-rw-r--r-- | net-p2p/limewire/ChangeLog | 10 | ||||
-rw-r--r-- | net-p2p/limewire/files/digest-limewire-4.12.6-r1 | 3 | ||||
-rw-r--r-- | net-p2p/limewire/limewire-4.12.6-r1.ebuild | 71 |
3 files changed, 82 insertions, 2 deletions
diff --git a/net-p2p/limewire/ChangeLog b/net-p2p/limewire/ChangeLog index d969abb96eb1..8720c1ddb350 100644 --- a/net-p2p/limewire/ChangeLog +++ b/net-p2p/limewire/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-p2p/limewire -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/limewire/ChangeLog,v 1.24 2006/12/24 02:38:41 wltjr Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/limewire/ChangeLog,v 1.25 2007/01/02 19:52:16 wltjr Exp $ + +*limewire-4.12.6-r1 (02 Jan 2007) + + 02 Jan 2007; William L. Thomson Jr. <wltjr@gentoo.org> + +limewire-4.12.6-r1.ebuild: + Unbundled a few jars *limewire-4.12.6 (24 Dec 2006) diff --git a/net-p2p/limewire/files/digest-limewire-4.12.6-r1 b/net-p2p/limewire/files/digest-limewire-4.12.6-r1 new file mode 100644 index 000000000000..1e2bb26aa15c --- /dev/null +++ b/net-p2p/limewire/files/digest-limewire-4.12.6-r1 @@ -0,0 +1,3 @@ +MD5 4b2c2f228205f6277170bacfb152305d LimeWireOther.zip 6665140 +RMD160 d6acbd13a08b4170d3c88b7f3c864d51516427d1 LimeWireOther.zip 6665140 +SHA256 e72fb5aca3edd580d28772b3985196e2d6dcb5b4b833c90d09c9d7adf69c1237 LimeWireOther.zip 6665140 diff --git a/net-p2p/limewire/limewire-4.12.6-r1.ebuild b/net-p2p/limewire/limewire-4.12.6-r1.ebuild new file mode 100644 index 000000000000..39108017ae3b --- /dev/null +++ b/net-p2p/limewire/limewire-4.12.6-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/limewire/limewire-4.12.6-r1.ebuild,v 1.1 2007/01/02 19:52:16 wltjr Exp $ + +inherit eutils java-pkg-2 + +IUSE="gtk" +DESCRIPTION="Limewire Java Gnutella client" +HOMEPAGE="http://www.limewire.com" +SRC_URI="http://maverick.limewire.com/download/LimeWireOther.zip" +LICENSE="GPL-2 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +DEPEND="app-arch/unzip + dev-java/commons-logging + dev-java/commons-net + dev-java/icu4j + dev-java/log4j + =dev-java/xerces-1.3* + dev-java/xml-commons-external + gtk? ( >=x11-libs/gtk+-2.4 )" + +RDEPEND="virtual/jre" + +S="${WORKDIR}/LimeWire" +PREFIX="/opt/limewire" + +src_compile() { + ( echo \#!/bin/sh + echo cd ${PREFIX} + echo export J2SE_PREEMPTCLOSE=1 + echo java -cp .:collections.jar:xerces.jar:jl011.jar:MessagesBundles.jar:themes.jar:logicrypto.jar:GURL.jar:LimeWire.jar com.limegroup.gnutella.gui.Main + ) > limewire.gentoo + + echo PATH=${PREFIX} > limewire.envd + + sed -i -e 's:icu4j.jar=2EA7BE7FE723AE4A7BB99850238CE7DE::' \ + -e 's:xerces.jar=F192FC03C1DFEB0C20A26EDF1D5E04DF::' \ + "${S}/hashes" || die "Could not modify hashes file" + +} + +src_install() { + insinto ${PREFIX} + doins *.jar *.war *.properties *.ver hashes *.sh *.txt + + # Replace bundled jars, don't replace commons-httpclient! + cd "${D}/opt/limewire" + java-pkg_jar-from commons-logging commons-logging.jar + java-pkg_jar-from commons-net commons-net.jar + java-pkg_jar-from icu4j icu4j.jar + java-pkg_jar-from log4j log4j.jar + java-pkg_jar-from xerces-1.3 xerces.jar + java-pkg_jar-from xml-commons-external-1.3 xml-apis.jar + + cd "${S}" + exeinto /usr/bin + newexe limewire.gentoo limewire + + newenvd limewire.envd 99limewire + + insinto /usr/share/icons/hicolor/32x32/apps + newins "${FILESDIR}"/main-icon.png limewire.png + + make_desktop_entry limewire LimeWire +} + +pkg_postinst() { + use gtk || ewarn "You will probably not be able to use the gtk frontend." + einfo " Finished installing LimeWire into ${PREFIX}" +} |