# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup bazelbuild bazel 0.11.1
github.tarball_from releases
maintainers {tfmnet.com:mohamed.issa @RootFunction} \
description A tool for automating builds and tests.
long_description ${description}
# Make sure the Java compiler exists
set param [auto_execok $cmdnm]
error "The Java compiler was not detected on this machine. \
Please ensure JDK 8 or newer is properly installed."
distname ${distname}-dist
checksums md5 80daac6b100b7f8e2b17d133150eba44 \
rmd160 c7ec01751cc053053eb87b2820cc496c41f11f62 \
sha256 e8d762bcc01566fa50952c8028e95cfbe7545a39b8ceb3a0d0d6df33b25b333f \
depends_build-append bin:python:python27
depends_build-append bin:bash:bash
depends_build-append bin:zip:zip
depends_build-append bin:git:git
system -W ${worksrcpath} "./compile.sh"
# Put executable in main working folder
xinstall -m 755 -W ${worksrcpath}/output ${name} ${worksrcpath}
# Get ready to build the bash completion script
file delete -force /var/tmp/_${name}_root
# build fails if it does not recognize this dir as a git repo