qi: use new dsl
parent
6eaaf42a59
commit
efe49a9270
|
@ -1,22 +1,20 @@
|
|||
require 'formula'
|
||||
|
||||
class Qi < Formula
|
||||
url 'http://www.lambdassociates.org/Download/QiII1.07.zip'
|
||||
homepage 'http://www.lambdassociates.org/'
|
||||
url 'http://www.lambdassociates.org/Download/QiII1.07.zip'
|
||||
md5 '3a0b5c56d0f107f80f5bca11b82a4d59'
|
||||
|
||||
def options
|
||||
[['--SBCL', 'Use SBCL instead of CLISP']]
|
||||
end
|
||||
option 'SBCL', 'Use SBCL instead of CLISP'
|
||||
|
||||
if ARGV.include? '--SBCL'
|
||||
if build.include? 'SBCL'
|
||||
depends_on 'sbcl'
|
||||
else
|
||||
depends_on 'clisp'
|
||||
end
|
||||
|
||||
def install
|
||||
if ARGV.include? '--SBCL'
|
||||
if build.include? 'SBCL'
|
||||
cd 'Lisp' do
|
||||
system "sbcl", "--load", "install.lsp"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue