Commit c544d9f0 authored by Ed Reel's avatar Ed Reel

Add pre-built binaries for go and libsodium

parent 0d9dc9e2
......@@ -7,6 +7,19 @@ class Go < Package
source_url 'https://dl.google.com/go/go1.10.2.src.tar.gz'
source_sha256 '6264609c6b9cd8ed8e02ca84605d727ce1898d74efa79841660b2e3e985a98bd'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/go-1.10.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/go-1.10.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/go-1.10.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/go-1.10.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '439c856bf87c758ba4cc227cd5ba4dd916908ed8d05d576610906a9ac908c546',
armv7l: '439c856bf87c758ba4cc227cd5ba4dd916908ed8d05d576610906a9ac908c546',
i686: 'f62c9b4a99a161c122b4099b0cda4de4d16ea26d651f70d70ecbd1cd85b44f94',
x86_64: 'd3c84bd8dec8731268e54a565da794e93966ffb68063a29dcc16b31bc007f723',
})
# Tests requires perl
depends_on 'perl' => :build
# go is required to build versions of go > 1.4
......
......@@ -7,6 +7,19 @@ class Libsodium < Package
source_url 'https://github.com/jedisct1/libsodium/releases/download/1.0.16/libsodium-1.0.16.tar.gz'
source_sha256 'eeadc7e1e1bcef09680fb4837d448fbdf57224978f865ac1c16745868fbd0533'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libsodium-1.0.16-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libsodium-1.0.16-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libsodium-1.0.16-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libsodium-1.0.16-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '3c3899e082014a5fd32ee2736d7c0a9d0cb8256247da9723a31e4dc85ddb5a6e',
armv7l: '3c3899e082014a5fd32ee2736d7c0a9d0cb8256247da9723a31e4dc85ddb5a6e',
i686: 'a36f6638877150233722e11c8d669fc2044edcb6da83f6b9e1b56d1288cda2d8',
x86_64: 'a24fc250462688409af619df906a7e83a2a27d923cc51fe332e316fb580eb676',
})
def self.build
system "./configure", "--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}"
system "make"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment