Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47144 - an ebuild for jCVS 5.4.1, a java CVS client
Summary: an ebuild for jCVS 5.4.1, a java CVS client
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on: 47134
Blocks:
  Show dependency tree
 
Reported: 2004-04-07 14:35 UTC by larry schuler
Modified: 2004-06-14 15:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description larry schuler 2004-04-07 14:35:02 UTC
cat jCVS-5.4.1.ebuild
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $
 
IUSE=""
S="${WORKDIR}/jCVS-${PV}"
DESCRIPTION="Java CVS client"
HOMEPAGE="http://www.jcvs.org/"
SRC_URI="http://www.jcvs.org/download/jcvs/jcvsii-${PV}.zip"
LICENSE="LGPL"
SLOT="0"
KEYWORDS="~x86"
 
DEPEND=">=virtual/jdk-1.3
        dev-java/j2ssh
        dev-java/commons-logging"
RDEPEND=">=virtual/jdk-1.3"
 
 
 
# if only java understood source file lookup recursion, this would
# work fine, but I guess a real ant build file is needed. sigh. Maybe someday
# ebuild will have links with ant tasks, ohhh to dream...
#src_unpack() {
#       unpack ${A}
#       cd ${S}
#
#       CP="/usr/share/j2ssh/lib/j2ssh-common.jar"
#       CP="${CP}:/usr/share/j2ssh/lib/j2ssh-core.jar"
#       CP="${CP}:/usr/share/commons-logging/lib/commons-logging.jar"
#       CP="${CP}:${S}/bin/jars/activation.jar"
#       CP="${CP}:${S}/bin/jars/jh.jar"
#       javac -classpath $CP -sourcepath ${S}/source -d ${S}/classes
#}
 
# So, we just cheat and use the pre-built jar files.
src_install() {
        cd ${S}
        dojar bin/jcvsii.jar
        dojar bin/jars/activation.jar
        dojar bin/jars/jh.jar
 
        APP="${S}/jcvsii"
 
        echo "#!/bin/sh"                  > $APP
        echo "#startup script for jcvsii" >>$APP
        echo "CP=/usr/share/j2ssh/lib/j2ssh-common.jar" >>$APP
        echo "CP=\$CP:/usr/share/j2ssh/lib/j2ssh-core.jar" >>$APP
        echo "CP=\$CP:/usr/share/commons-logging/lib/commons-logging.jar" >>$APP
        echo "CP=\$CP:/usr/share/jCVS/lib/activation.jar" >>$APP
        echo "CP=\$CP:/usr/share/jCVS/lib/jh.jar" >>$APP
        echo "CP=\$CP:/usr/share/jCVS/lib/jcvsii.jar" >>$APP
        echo "java -cp \$CP com.ice.jcvsii.JCVS" >>$APP
 
        chmod +x $APP
 
        into /usr/
        dobin ${S}/jcvsii
}


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Chris Aniszczyk (RETIRED) gentoo-dev 2004-04-11 14:28:54 UTC
In portage now, cheers.
Comment 2 larry schuler 2004-06-14 15:35:01 UTC
I am unable to see this ebuild. Did it *really* get into portage??