Magellan Linux

Contents of /branches/magellan-next/extras/eclipse-ecj/eclipse-ecj-3.7.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9677 - (show annotations) (download)
Wed Jan 4 14:12:22 2012 UTC (12 years, 4 months ago) by niro
File size: 742 byte(s)
-fixed includes
1 # $Id$
2
3 PNAME="eclipse-ecj"
4 PVER="3.7.1"
5 PBUILD="r2"
6
7 PCATEGORIE="dev-java"
8
9 DESCRIPTION="Eclipse java bytecode compiler."
10 HOMEPAGE="http://www.eclipse.org/"
11
12 DEPEND=">= virtual/java"
13
14 SDEPEND=">= app-arch/unzip-5
15 >= dev-java/apache-ant-1.8.2
16 >= virtual/java-jdk"
17
18 PSUBVER="201109091335"
19
20 SRCFILE="ecjsrc-${PVER}.jar"
21 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
22
23 sminclude java
24
25 SRC_URI=(
26 http://mirror.netcologne.de/eclipse/eclipse/downloads/drops/R-${PVER}-${PSUBVER}/${SRCFILE}
27 mirror://${PNAME}/${SRCFILE}
28 )
29
30 # FIXME
31 UP2DATE="echo ${PVER}"
32
33 src_prepare()
34 {
35 munpack ${SRCFILE} ${SRCDIR} || die
36 }
37
38 src_compile()
39 {
40 cd ${SRCDIR}
41 ant build || die
42 }
43
44 src_install()
45 {
46 cd ${SRCDIR}
47 minstalljar ecj.jar || die
48 minstalldocs about.html || die
49 }