aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-25 23:35:10 -0700
committerAdam Vandenberg2012-08-25 23:35:10 -0700
commit75f332d6a23771eecc9579e90274613d271405b0 (patch)
tree93bfe5627b541288ba73a211595c812a77930ab3 /Library/Formula
parent2b607255168ab39511c576b879ba0fc74fbe081c (diff)
downloadhomebrew-75f332d6a23771eecc9579e90274613d271405b0.tar.bz2
qi: use new dsl
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/qi.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/qi.rb b/Library/Formula/qi.rb
index c0f174878..825a60331 100644
--- a/Library/Formula/qi.rb
+++ b/Library/Formula/qi.rb
@@ -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