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.
In portage now, cheers.
I am unable to see this ebuild. Did it *really* get into portage??