summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-02-06 15:39:50 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-02-06 15:39:50 +0000
commitaab22ac3d4ff2cbbda1d238b328776cde27696cb (patch)
tree0512b4c65464415f386555fa0833a6e0c1cf91b3 /dev-util/fujaba/fujaba-4.2.0.ebuild
parentFix bug #76326, remove old version. (Manifest recommit) (diff)
downloadgentoo-2-aab22ac3d4ff2cbbda1d238b328776cde27696cb.tar.gz
gentoo-2-aab22ac3d4ff2cbbda1d238b328776cde27696cb.tar.bz2
gentoo-2-aab22ac3d4ff2cbbda1d238b328776cde27696cb.zip
removed packed jars issue, fixes #79621. thanks to Arne Mejlholm <aaby@gentoo.org>
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-util/fujaba/fujaba-4.2.0.ebuild')
-rw-r--r--dev-util/fujaba/fujaba-4.2.0.ebuild21
1 files changed, 17 insertions, 4 deletions
diff --git a/dev-util/fujaba/fujaba-4.2.0.ebuild b/dev-util/fujaba/fujaba-4.2.0.ebuild
index 036cd64c2ef4..2ef1329f7449 100644
--- a/dev-util/fujaba/fujaba-4.2.0.ebuild
+++ b/dev-util/fujaba/fujaba-4.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/fujaba/fujaba-4.2.0.ebuild,v 1.1 2005/01/26 20:13:45 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/fujaba/fujaba-4.2.0.ebuild,v 1.2 2005/02/06 15:39:50 luckyduck Exp $
MY_PV="${PV//./_}"
MY_PNB="Fujaba_${PV:0:1}"
@@ -12,8 +12,14 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE=""
-RDEPEND=">=virtual/jdk-1.4.1"
-DEPEND="app-arch/unzip"
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ dev-java/java-config
+ dev-java/junit
+ dev-java/log4j
+ ~dev-java/jdom-1.0_beta10"
+
S=${WORKDIR}
src_unpack () {
@@ -25,12 +31,19 @@ src_compile() { :; }
src_install() {
dodir /opt/${PN}
cd 'C_/Dokumente und Einstellungen/Lothar/Eigene Dateien/Deployment/Fujaba 4.2.0/' || die "failed to enter die"
+
+ rm -f Deploymentdata/libs/junit.jar
+ rm -f Deploymentdata/libs/log4j.jar
+ rm -f Deploymentdata/libs/jdom.jar
+
cp -a . ${D}/opt/${PN} || die "failed too copy"
chmod -R 755 ${D}/opt/${PN}/
echo "#!/bin/sh" > ${PN}
echo "cd /opt/${PN}/Deploymentdata" >> ${PN}
- echo '${JAVA_HOME}'/bin/java -jar ${PN}.jar '$*' >> ${PN}
+ #jdom and java-config doesn't seem to get along
+ echo "'${JAVA_HOME}'/bin/java -classpath .:\$(java-config -p log4j,junit,jdom-1.0_beta10) -jar ${PN}.jar \$*" >> ${PN}
+
into /opt
dobin ${PN}
}