Skip to content

Instantly share code, notes, and snippets.

@yyamano
Created December 19, 2018 02:37
Show Gist options
  • Save yyamano/14c50c44499af90d483a94f7ee170ec3 to your computer and use it in GitHub Desktop.
Save yyamano/14c50c44499af90d483a94f7ee170ec3 to your computer and use it in GitHub Desktop.
It doesn't work yet on macos
# $NetBSD$
# Download a distribution archive (-dist) for bootstrap.
# See https://docs.bazel.build/versions/master/install-compile-source.html#bootstrap-bazel
DISTNAME= bazel-0.20.0-dist
PKGNAME= bazel-0.20.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=bazelbuild/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.bazel.build/
COMMENT= A fast, scalable, multi-language and extensible build system
LICENSE= apache-2.0
WRKSRC= ${WRKDIR}
USE_LANGUAGES= c++
USE_TOOLS+= bash:run zip:run unzip:run
do-build:
cd ${WRKSRC} && bash ./compile.sh
.include "../../mk/bsd.pkg.mk"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment