New package: eclipse-ecj-4.5.
This commit is contained in:
parent
b84dcd6f14
commit
1ce29424fd
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
gij -cp /usr/share/java/eclipse-ecj.jar \
|
||||||
|
org.eclipse.jdt.internal.compiler.batch.GCCMain \
|
||||||
|
${1+"$@"}
|
|
@ -0,0 +1,32 @@
|
||||||
|
# Template build file for 'eclipse-ecj'.
|
||||||
|
pkgname=eclipse-ecj
|
||||||
|
version=4.5
|
||||||
|
revision=1
|
||||||
|
short_desc="A fork of the Eclipse Java bytecode compiler for GCJ"
|
||||||
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
|
license="EPL"
|
||||||
|
homepage="http://gcc.gnu.org/java/"
|
||||||
|
checksum=98fd128f1d374d9e42fd9d4836bdd249c6d511ebc6c0df17fbc1b9df96c3d781
|
||||||
|
distfiles="http://mirrors.kernel.org/sources.redhat.com/java/ecj-${version}.jar"
|
||||||
|
long_desc="
|
||||||
|
A fork of the open source Eclipse Java bytecode incremental compiler for GCJ."
|
||||||
|
|
||||||
|
noextract=yes
|
||||||
|
create_wrksrc=yes
|
||||||
|
|
||||||
|
do_extract() {
|
||||||
|
cp -v "${XBPS_SRCDISTDIR}/ecj-${version}.jar" "${wrksrc}"
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vinstall "ecj-${version}.jar" 644 usr/share/java "${pkgname}.jar"
|
||||||
|
vinstall "${FILESDIR}/ecj1" 755 usr/bin
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
eclipse-ecj_package() {
|
||||||
|
noarch="yes"
|
||||||
|
pkg_install() {
|
||||||
|
vmove all
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue