void-packages/srcpkgs/eclipse-ecj/template

19 lines
566 B
Bash

# Template build file for 'eclipse-ecj'.
pkgname=eclipse-ecj
version=4.9
revision=2
archs=noarch
build_style=fetch
depends="virtual?java-runtime"
short_desc="A fork of the Eclipse Java bytecode compiler for GCJ"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="EPL"
homepage="http://gcc.gnu.org/java/"
checksum=9506e75b862f782213df61af67338eb7a23c35ff425d328affc65585477d34cd
distfiles="http://mirrors.kernel.org/sources.redhat.com/java/ecj-${version}.jar"
do_install() {
vinstall ecj-${version}.jar 644 usr/share/java ${pkgname}.jar
vbin ${FILESDIR}/ecj1
}