mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -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)
30 lines
1011 B
Ruby
30 lines
1011 B
Ruby
require 'package'
|
|
|
|
class Nsgenbind < Package
|
|
description 'Tool to generate javascript to dom bindings from w3c webid files'
|
|
homepage 'https://www.netsurf-browser.org'
|
|
version '0.8'
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'https://download.netsurf-browser.org/libs/releases/nsgenbind-0.8-src.tar.gz'
|
|
source_sha256 '4d8d53ad000ada712772365e6a73eb8fc5ce97584af9c865ac5b26a2187f1cb3'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: '51a88fadaf90448c2ecac5213230cc0b18909832635e80d3eeb7ed00b3126e66',
|
|
armv7l: '51a88fadaf90448c2ecac5213230cc0b18909832635e80d3eeb7ed00b3126e66',
|
|
i686: '75b76a23ed86c489ac54d4aee6ecfcbc88404fd229d0e60846a6c274256972d2',
|
|
x86_64: '5f288d1f5ec7c781e2a7a326d9c618e6af60e6d5b643388f2349b30a641d951a'
|
|
})
|
|
|
|
depends_on 'netsurf_buildsystem' => :build
|
|
|
|
def self.build
|
|
system "make FLEX=flex BISON=bison PREFIX=#{CREW_PREFIX}"
|
|
end
|
|
|
|
def self.install
|
|
system "make install PREFIX=#{CREW_PREFIX} DESTDIR=#{CREW_DEST_DIR}"
|
|
end
|
|
end
|