diff options
author | Chris Aniszczyk <zx@gentoo.org> | 2004-04-18 14:42:19 +0000 |
---|---|---|
committer | Chris Aniszczyk <zx@gentoo.org> | 2004-04-18 14:42:19 +0000 |
commit | 6c29afbb5cc355687a2bed2697e8ad85b96c01dd (patch) | |
tree | 4923369762f443e752f9ea7bbf0255fb372c97b7 /net-p2p/xnap/xnap-2.5-r2.ebuild | |
parent | Marking stable on hppa (Manifest recommit) (diff) | |
download | gentoo-2-6c29afbb5cc355687a2bed2697e8ad85b96c01dd.tar.gz gentoo-2-6c29afbb5cc355687a2bed2697e8ad85b96c01dd.tar.bz2 gentoo-2-6c29afbb5cc355687a2bed2697e8ad85b96c01dd.zip |
Some version bump action. Closes #47763
Diffstat (limited to 'net-p2p/xnap/xnap-2.5-r2.ebuild')
-rw-r--r-- | net-p2p/xnap/xnap-2.5-r2.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net-p2p/xnap/xnap-2.5-r2.ebuild b/net-p2p/xnap/xnap-2.5-r2.ebuild new file mode 100644 index 000000000000..cf24e6fa6421 --- /dev/null +++ b/net-p2p/xnap/xnap-2.5-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/xnap/xnap-2.5-r2.ebuild,v 1.1 2004/04/18 14:42:17 zx 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} +} + |