Commit e784e44f authored by Casey Strouse's avatar Casey Strouse Committed by Ed Reel

Add chibi-scheme package (#3643)

Chibi-Scheme is a minimal Scheme implementation for use as an extension
language.

Tested on ARM.
parent a73f8758
require 'package'
class Chibi_scheme < Package
description 'Minimal Scheme Implementation for use as an Extension Language'
homepage 'http://synthcode.com/wiki/chibi-scheme'
version '0.8'
source_url 'https://github.com/ashinn/chibi-scheme/archive/0.8.tar.gz'
source_sha256 '8a077859b123216c123c243db391b0fe4c0cf73978c7cdd7b8ea853a48192756'
binary_url ({
})
binary_sha256 ({
})
def self.build
system 'sed -i -e \'/LDCONFIG/d\' Makefile'
system 'sed -i \'/^IMAGE_FILES =/c\IMAGE_FILES =\' Makefile' # wasn't able to override via CLI
system 'make', '-j1', "PREFIX=#{CREW_PREFIX}", "LIBDIR=#{CREW_LIB_PREFIX}"
end
def self.install
system 'make', '-j1', "PREFIX=#{CREW_PREFIX}", "LIBDIR=#{CREW_LIB_PREFIX}", "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
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