summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-08-11 17:55:44 +0000
committerJon Hood <squinky86@gentoo.org>2004-08-11 17:55:44 +0000
commitef5430483f547ad0d85f8dbaffd4d2c96b0c8174 (patch)
tree9eb9ee9a5c8af4e6216d63c54fd123aa6ae4ba78 /net-p2p/xnap/xnap-2.5-r3.ebuild
parentoops, wrong herd (Manifest recommit) (diff)
downloadgentoo-2-ef5430483f547ad0d85f8dbaffd4d2c96b0c8174.tar.gz
gentoo-2-ef5430483f547ad0d85f8dbaffd4d2c96b0c8174.tar.bz2
gentoo-2-ef5430483f547ad0d85f8dbaffd4d2c96b0c8174.zip
Version bump, add net-p2p to metadata.xml, clean old ebuild, mark -r2 stable on x86.
Diffstat (limited to 'net-p2p/xnap/xnap-2.5-r3.ebuild')
-rw-r--r--net-p2p/xnap/xnap-2.5-r3.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/net-p2p/xnap/xnap-2.5-r3.ebuild b/net-p2p/xnap/xnap-2.5-r3.ebuild
new file mode 100644
index 000000000000..b82da6a0ef5f
--- /dev/null
+++ b/net-p2p/xnap/xnap-2.5-r3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/xnap/xnap-2.5-r3.ebuild,v 1.1 2004/08/11 17:55:44 squinky86 Exp $
+
+DESCRIPTION="A P2P framework and client"
+HOMEPAGE="http://xnap.sf.net"
+SRC_URI="mirror://sourceforge/xnap/${P}r2.jar"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE=""
+RDEPEND=">=virtual/jre-1.3"
+
+S=${WORKDIR}
+
+src_unpack() {
+ cp ${DISTDIR}/${A} ${WORKDIR}/
+}
+
+src_install() {
+ mv ${S}/${A} ${S}/${PN}.jar
+ insinto /opt/${PN}/lib
+ doins ${PN}.jar
+
+ echo "#!/bin/sh" > ${PN}
+ echo "cd /opt/${PN}" >> ${PN}
+ echo '${JAVA_HOME}'/bin/java -jar lib/${PN}.jar '$*' >> ${PN}
+
+ into /opt
+ dobin ${PN}
+}
+