diff options
Diffstat (limited to 'net-p2p/limewire/files/main-icon.png')
-rw-r--r-- | net-p2p/limewire/files/main-icon.png | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/net-p2p/limewire/files/main-icon.png b/net-p2p/limewire/files/main-icon.png new file mode 100644 index 000000000000..7f08c97763d3 --- /dev/null +++ b/net-p2p/limewire/files/main-icon.png @@ -0,0 +1,50 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/limewire/files/main-icon.png,v 1.1 2004/09/02 17:38:25 squinky86 Exp $ + +DESCRIPTION="Limewire Java Gnutella client" +HOMEPAGE="http://www.limewire.com" +SRC_URI="http://dev.gentoo.org/~squinky86/files/LimeWireLinux-${PV}.tgz" +LICENSE="GPL-2 Apache-2.0" +SLOT="0" +KEYWORDS="~x86 ~ppc" +DEPEND="virtual/jre + virtual/x11" +IUSE="" +S=${WORKDIR} +PREFIX="/opt/limewire" + +src_compile() { + ( echo \#!/bin/sh + echo cd ${PREFIX} + echo java -cp .:collections.jar:xerces.jar:jl011.jar:MessagesBundles.jar:themes.jar:logicrypto.jar:GURL.jar com.limegroup.gnutella.gui.Main + echo export J2SE_PREEMPTCLOSE=1 + echo java -jar LimeWire.jar + ) >limewire.gentoo + + echo PATH=${PREFIX} >99limewire +} + +src_install() { + insinto ${PREFIX} + doins *.jar *.war *.properties *.ver *.sh hashes *.txt + exeinto /usr/bin + newexe limewire.gentoo limewire + insinto /etc/env.d + doins 99limewire + insinto /usr/share/applications + doins ${FILESDIR}/limewire.desktop + insinto /usr/share/pixmaps/limewire + doins ${FILESDIR}/main-icon.png +} +pkg_postinst() { + + einfo "******************************************************************" + einfo " Finished installing LimeWire into ${PREFIX}" + einfo + einfo " To start LimeWire, run:" + einfo + einfo " $ limewire" + einfo + einfo "******************************************************************" +} |