mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
22 lines
819 B
Ruby
22 lines
819 B
Ruby
require 'package'
|
|
|
|
class Squeak < Package
|
|
description 'Squeak is an open-source Smalltalk programming system with fast execution environments for all major platforms.'
|
|
homepage 'https://squeak.org/'
|
|
version '5.3-19439'
|
|
license 'MIT and Apache-2.0'
|
|
compatibility 'x86_64'
|
|
source_url 'http://files.squeak.org/5.3/Squeak5.3-19439-64bit/Squeak5.3-19439-64bit-202003021730-Linux.zip'
|
|
source_sha256 'c2e64c9eabf5e94a19766b5fab809b37986c3874767d0fdba4b6139043dfa19a'
|
|
|
|
depends_on 'pulseaudio'
|
|
depends_on 'sommelier'
|
|
|
|
def self.install
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/libexec/squeak"
|
|
FileUtils.cp_r '.', "#{CREW_DEST_PREFIX}/libexec/squeak"
|
|
FileUtils.ln_s "#{CREW_PREFIX}/libexec/squeak/squeak.sh", "#{CREW_DEST_PREFIX}/bin/squeak"
|
|
end
|
|
end
|