Commit 7e45022e authored by satmandu's avatar satmandu Committed by GitHub

Add binaries, run through rubocop, fix musl URL.

parent 2c95b253
......@@ -2,14 +2,27 @@ require 'package'
class Musl < Package
description 'A modern, simple, and fast C library implementation that strives to be lightweight, fast, simple, free, and correct in the sense of standards-conformance and safety.'
homepage 'https://www.musl.libc.org/'
homepage 'https://musl.libc.org/'
version '1.2.2'
compatibility 'all'
source_url 'https://musl.libc.org/releases/musl-1.2.2.tar.gz'
source_sha256 '9b969322012d796dc23dda27a35866034fa67d8fb67e0e2c45c913c3d43219dd'
binary_url({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/musl-1.2.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/musl-1.2.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/musl-1.2.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/musl-1.2.2-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '3ed631095e644fc8477a73c26b29970af21fea79ee65380ede17bb1d9b8116d3',
armv7l: '3ed631095e644fc8477a73c26b29970af21fea79ee65380ede17bb1d9b8116d3',
i686: 'eaff89a590abbcf849bc427a9629f389fee5d3ece2173272c2e4d1e858ec2008',
x86_64: 'aad8afc109cc3946c1d9b0bd079fe1973f8b28decc79f19b10dc7acc9a44f797'
})
def self.build
if ARCH == 'armv7l' or ARCH == 'aarch64'
if (ARCH == 'armv7l') || (ARCH == 'aarch64')
abi = 'eabihf'
arch = 'armv7l'
else
......
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