mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
* Add binary_compression value to each package * Remove binary_url values and arrays * Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
34 lines
925 B
Ruby
34 lines
925 B
Ruby
require 'package'
|
|
|
|
class Sassc < Package
|
|
description 'C implementation of Sass CSS preprocessor.'
|
|
homepage 'https://github.com/sass/sassc'
|
|
version '3.6.2'
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/sass/sassc.git'
|
|
git_hashtag version
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'b34876c122bce81fb000e249e3c240781e0815c5139255a5d92e45184959b80d',
|
|
armv7l: 'b34876c122bce81fb000e249e3c240781e0815c5139255a5d92e45184959b80d',
|
|
i686: '17acfe27361d4e8e2258fd5be8960ee24b7fcf2ae9e854ff4ab4d7ceb1373bed',
|
|
x86_64: '1d2cc3adbb8fdab70a69cc32975f10ca8c382fe04402d9717889787bcc580ffb'
|
|
})
|
|
|
|
depends_on 'libsass'
|
|
depends_on 'gcc_lib' # R
|
|
depends_on 'glibc' # R
|
|
|
|
def self.build
|
|
system 'autoreconf -i'
|
|
system "./configure #{CREW_OPTIONS}"
|
|
system 'mold -run make'
|
|
end
|
|
|
|
def self.install
|
|
system "make DESTDIR=#{CREW_DEST_DIR} install"
|
|
end
|
|
end
|