/[gentoo-x86]/net-p2p/xnap/xnap-2.5-r3.ebuild
Gentoo

Contents of /net-p2p/xnap/xnap-2.5-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Aug 15 11:25:15 2010 UTC (3 years, 8 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +3 -3 lines
Drop alpha
(Portage version: 2.1.8.3/cvs/Linux ia64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-p2p/xnap/xnap-2.5-r3.ebuild,v 1.5 2007/07/13 05:52:07 mr_bones_ Exp $
4
5 DESCRIPTION="A P2P framework and client"
6 HOMEPAGE="http://xnap.sf.net"
7 SRC_URI="mirror://sourceforge/xnap/${P}r3.jar"
8 LICENSE="GPL-2"
9 SLOT="0"
10 KEYWORDS="~ppc x86"
11 IUSE=""
12 RDEPEND=">=virtual/jre-1.3"
13
14 S=${WORKDIR}
15
16 src_unpack() {
17 cp ${DISTDIR}/${A} ${WORKDIR}/
18 }
19
20 src_install() {
21 mv ${S}/${A} ${S}/${PN}.jar
22 insinto /opt/${PN}/lib
23 doins ${PN}.jar
24
25 echo "#!/bin/sh" > ${PN}
26 echo "cd /opt/${PN}" >> ${PN}
27 echo '${JAVA_HOME}'/bin/java -jar lib/${PN}.jar '$*' >> ${PN}
28
29 into /opt
30 dobin ${PN}
31 }

  ViewVC Help
Powered by ViewVC 1.1.20