mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
* Rename IgnoredPatterns to AllowedPatterns. * Exclude docopt.rb (not our code) from Rubocop * Disable Style/RedundantReturn * Disable Style/MutableConstant * Disable Style/NumericLiterals * Set Layout/IndentationStyle to spaces * Temporarily disable various cops. * Add Rubocop CI via Octocop * Lint tree with rubocop -A -c .rubocop.yml Co-authored-by: Satadru Pramanik <satadru@gmail.com>
34 lines
1.4 KiB
Ruby
34 lines
1.4 KiB
Ruby
require 'package'
|
|
|
|
class Scheme48 < Package
|
|
description 'Scheme byte-code interpreter'
|
|
homepage 'http://s48.org/'
|
|
version '1.9.2'
|
|
license 'BSD'
|
|
compatibility 'all'
|
|
source_url 'http://s48.org/1.9.2/scheme48-1.9.2.tgz'
|
|
source_sha256 '9c4921a90e95daee067cd2e9cc0ffe09e118f4da01c0c0198e577c4f47759df4'
|
|
|
|
binary_url({
|
|
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/scheme48/1.9.2_armv7l/scheme48-1.9.2-chromeos-armv7l.tar.xz',
|
|
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/scheme48/1.9.2_armv7l/scheme48-1.9.2-chromeos-armv7l.tar.xz',
|
|
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/scheme48/1.9.2_i686/scheme48-1.9.2-chromeos-i686.tar.xz',
|
|
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/scheme48/1.9.2_x86_64/scheme48-1.9.2-chromeos-x86_64.tar.xz'
|
|
})
|
|
binary_sha256({
|
|
aarch64: 'ea7ebd83c9fd176cadeb3ba22e70d030942a199660a1c47d1e6c10d4c441febd',
|
|
armv7l: 'ea7ebd83c9fd176cadeb3ba22e70d030942a199660a1c47d1e6c10d4c441febd',
|
|
i686: 'c2ccae4624713af8a7708940d6f6f364b25ee39cf5d7f0259ce0960bdf11d554',
|
|
x86_64: '576f041ade2a539f3ed8a9c9dd5e20f0bf831620f8e8847fec7064b81804807c'
|
|
})
|
|
|
|
def self.build
|
|
system './configure', "--prefix=#{CREW_PREFIX}"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|