mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
19 lines
575 B
Ruby
19 lines
575 B
Ruby
require 'package'
|
|
|
|
class Bazel < Package
|
|
description 'a fast, scalable, multi-language and extensible build system'
|
|
homepage 'https://bazel.build/'
|
|
version '7.2.1'
|
|
license 'Apache-2.0'
|
|
compatibility 'x86_64'
|
|
source_url "https://github.com/bazelbuild/bazel/releases/download/#{version}/bazel-#{version}-linux-x86_64"
|
|
source_sha256 '80ccd1ecb4b88750fbe5d7622d67072fddcba9da7808f13356555e480bf67875'
|
|
|
|
no_compile_needed
|
|
no_shrink
|
|
|
|
def self.install
|
|
FileUtils.install "bazel-#{version}-linux-#{ARCH}", "#{CREW_DEST_PREFIX}/bin/bazel", mode: 0o755
|
|
end
|
|
end
|