blob: 97c66c88ea789fc991d79fe432d13bb8452dee66 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# 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.6 2005/08/26 13:24:20 flameeyes Exp $
MY_PV="${PV//./_}"
MY_PNB="Fujaba_${PV:0:1}"
DESCRIPTION="The Fujaba Tool Suite provides an easy to extend UML and Java development platform"
HOMEPAGE="http://www.uni-paderborn.de/cs/fujaba/index.html"
SRC_URI="ftp://ftp.uni-paderborn.de/private/fujaba/${MY_PNB}/FujabaToolSuite_Developer${MY_PV}.jar"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE=""
RDEPEND=">=virtual/jre-1.4
dev-java/junit
dev-java/log4j
~dev-java/jdom-1.0_beta10
=dev-java/xerces-1.3*"
DEPEND=">=virtual/jdk-1.4
${RDEPEND}"
S=${WORKDIR}
src_unpack () {
jar xf ${DISTDIR}/${A}
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
rm -f Deploymentdata/libs/xerces.jar
}
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"
cp -pPR . ${D}/opt/${PN} || die "failed to copy"
chmod -R 755 ${D}/opt/${PN}/
echo "#!/bin/sh" > ${PN}
echo "cd /opt/${PN}/Deploymentdata" >> ${PN}
echo "'${JAVA_HOME}'/bin/java -classpath .:\$(java-config -p xerces-1.3,log4j,junit,jdom-1.0_beta10):fujaba.jar:libs/libCoObRA.jar:libs/libXMLReflect.jar:libs/RuntimeTools.jar:libs/upb.jar de.uni_paderborn.fujaba.app.FujabaApp \$*" >> ${PN}
into /opt
dobin ${PN}
}
|