blob: 1255d1c308fa145d13b13668604d863677b53e79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/jcvs-bin/jcvs-bin-5.4.1.ebuild,v 1.2 2004/04/12 10:24:47 dholm Exp $
DESCRIPTION="Java CVS client"
HOMEPAGE="http://www.jcvs.org/"
SRC_URI="http://www.jcvs.org/download/jcvs/jcvsii-${PV}.zip"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
DEPEND=">=virtual/jdk-1.3"
RDEPEND=">=virtual/jre-1.3"
S="${WORKDIR}/jCVS-${PV}"
src_compile() { :; }
src_install() {
dodir /opt/jcvs/lib
cp -R ${S}/bin/jars/* ${D}/opt/jcvs/lib
cp ${S}/bin/jcvsii.jar ${D}/opt/jcvs/lib
echo "#!/bin/sh" > ${PN}
echo "cd /opt/jcvs/lib" >> ${PN}
echo "java -cp activation.jar:commons-logging.jar:j2ssh-common.jar:j2ssh-core.jar:jcvsii.jar:jh.jar com.ice.jcvsii.JCVS" >> ${PN}
into /opt
newbin ${PN} jcvs
}
|