void-packages/srcpkgs/eclipse-ecj/template

23 lines
653 B
Text
Raw Normal View History

2013-07-23 02:09:23 +00:00
# Template build file for 'eclipse-ecj'.
pkgname=eclipse-ecj
version=4.5
revision=3
noarch="yes"
create_wrksrc=yes
2013-07-23 02:09:23 +00:00
short_desc="A fork of the Eclipse Java bytecode compiler for GCJ"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-07-23 02:09:23 +00:00
license="EPL"
homepage="http://gcc.gnu.org/java/"
checksum=98fd128f1d374d9e42fd9d4836bdd249c6d511ebc6c0df17fbc1b9df96c3d781
distfiles="http://mirrors.kernel.org/sources.redhat.com/java/ecj-${version}.jar"
do_extract() {
2014-06-08 17:06:33 +00:00
cp -v "${XBPS_SRCDISTDIR}/${pkgname}-${version}/ecj-${version}.jar" "${wrksrc}"
2013-07-23 02:09:23 +00:00
}
do_install() {
vinstall "ecj-${version}.jar" 644 usr/share/java "${pkgname}.jar"
vinstall "${FILESDIR}/ecj1" 755 usr/bin
}