mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 23:48:01 -05:00
Fix problems from crew-license-framework (#5459)
* Fix antlr4 * fix binclock * fix libva * Fix putsing of license
This commit is contained in:
4
crew
4
crew
@@ -128,8 +128,8 @@ def print_current_package (extra = false)
|
||||
if extra
|
||||
puts ""
|
||||
puts @pkg.homepage if @pkg.homepage
|
||||
print "Version: #{@pkg.version}"
|
||||
puts @pkg.license if @pkg.license
|
||||
puts "Version: #{@pkg.version}"
|
||||
print "License: #{@pkg.license}" if @pkg.license
|
||||
end
|
||||
puts ""
|
||||
end
|
||||
|
||||
@@ -4,7 +4,7 @@ class Antlr4 < Package
|
||||
description 'ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.'
|
||||
homepage 'https://www.antlr.org/'
|
||||
version '4.7.1'
|
||||
licnese 'BSD'
|
||||
license 'BSD'
|
||||
compatibility 'all'
|
||||
source_url 'https://raw.githubusercontent.com/antlr/antlr4/4.7.1/README.md'
|
||||
source_sha256 '70a58ea4c4f5ed23306313782bc13f36c3529d9a990e95ab273d5deed9286d4f'
|
||||
@@ -17,7 +17,7 @@ class Antlr4 < Package
|
||||
depends_on 'jdk8'
|
||||
|
||||
def self.install
|
||||
system 'curl -#LO' https://www.antlr.org/download/antlr-4.7.1-complete.jar'
|
||||
system 'curl -#LO https://www.antlr.org/download/antlr-4.7.1-complete.jar'
|
||||
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('antlr-4.7.1-complete.jar') ) == 'f41dce7441d523baf9769cb7756a00f27a4b67e55aacab44525541f62d7f6688'
|
||||
system "install -Dm644 antlr-4.7.1-complete.jar #{CREW_DEST_LIB_PREFIX}/antlr-4.7.1-complete.jar"
|
||||
end
|
||||
|
||||
@@ -4,7 +4,7 @@ class Binclock < Package
|
||||
description 'Ncurses clock, with time displayed in colourful binary'
|
||||
homepage 'https://github.com/JohnAnthony/Binary-Clock'
|
||||
version '3883e8'
|
||||
licnese 'GPL-2'
|
||||
license 'GPL-2'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/JohnAnthony/Binary-Clock/archive/3883e8876576a45162b9a128d8317b20f98c5140.tar.gz'
|
||||
source_sha256 'e8caa26437301c70bf9840901db9e46d32b99c0ec8b442562f96390e28f35408'
|
||||
|
||||
@@ -5,7 +5,7 @@ class Libva < Package
|
||||
homepage 'https://01.org/linuxmedia'
|
||||
@_ver = '2.10.0'
|
||||
version "#{@_ver}-1"
|
||||
liecnse 'MIT'
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url "https://github.com/intel/libva/releases/download/#{@_ver}/libva-#{@_ver}.tar.bz2"
|
||||
source_sha256 'fa81e35b50d9818fce5ec9eeeeff08a24a8864ceeb9a5c8e7ae4446eacfc0236'
|
||||
|
||||
Reference in New Issue
Block a user