/[gentoo-x86]/dev-util/fujaba/fujaba-4.2.0.ebuild
Gentoo

Contents of /dev-util/fujaba/fujaba-4.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon Oct 12 18:55:23 2009 UTC (4 years, 8 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +5 -5 lines
Fix quoting
(Portage version: 2.2_rc46/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/fujaba/fujaba-4.2.0.ebuild,v 1.7 2008/01/10 22:40:32 caster Exp $
4
5 MY_PV="${PV//./_}"
6 MY_PNB="Fujaba_${PV:0:1}"
7
8 DESCRIPTION="The Fujaba Tool Suite provides an easy to extend UML and Java development platform"
9 HOMEPAGE="http://www.uni-paderborn.de/cs/fujaba/index.html"
10 SRC_URI="ftp://ftp.uni-paderborn.de/private/fujaba/${MY_PNB}/FujabaToolSuite_Developer${MY_PV}.jar"
11 LICENSE="LGPL-2.1"
12 SLOT="0"
13 KEYWORDS="~x86 ~ppc ~amd64"
14 IUSE=""
15 RDEPEND=">=virtual/jre-1.4
16 =dev-java/junit-3.8*
17 dev-java/log4j
18 ~dev-java/jdom-1.0_beta10
19 =dev-java/xerces-1.3*"
20 DEPEND=">=virtual/jdk-1.4
21 ${RDEPEND}"
22
23 S=${WORKDIR}
24
25 src_unpack () {
26 jar xf "${DISTDIR}"/${A}
27
28 cd 'C_/Dokumente und Einstellungen/Lothar/Eigene Dateien/Deployment/Fujaba 4.2.0/' || die "failed to enter die"
29
30 rm -f Deploymentdata/libs/junit.jar
31 rm -f Deploymentdata/libs/log4j*.jar
32 rm -f Deploymentdata/libs/jdom*.jar
33 rm -f Deploymentdata/libs/xerces.jar
34 }
35
36 src_compile() { :; }
37
38 src_install() {
39 dodir /opt/${PN}
40 cd 'C_/Dokumente und Einstellungen/Lothar/Eigene Dateien/Deployment/Fujaba 4.2.0/' || die "failed to enter die"
41
42 cp -pPR . "${D}"/opt/${PN} || die "failed to copy"
43 chmod -R 755 "${D}"/opt/${PN}/
44
45 echo "#!/bin/sh" > ${PN}
46 echo "cd /opt/${PN}/Deploymentdata" >> ${PN}
47 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}
48
49 into /opt
50 dobin ${PN}
51 }

  ViewVC Help
Powered by ViewVC 1.1.20