Add formula for strategoxt
Add formula for Stratego a leading program transformation language and its supporting toolkit XT. Closes Homebrew/homebrew#3789. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com> Add formula for sdf Add formula for SDF (Syntax Definition Formalism) tools and libraries for scannerless generalised parsing (used with Stratego/XT). Closes Homebrew/homebrew#3789. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com> Add formula for aterm Add formula for ATerm annotated term representation library (used by both Stratego/XT and SDF). Closes Homebrew/homebrew#3789. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
55ffed0596
commit
2defc0116f
1 changed files with 24 additions and 0 deletions
24
Formula/strategoxt.rb
Normal file
24
Formula/strategoxt.rb
Normal file
|
@ -0,0 +1,24 @@
|
|||
require 'formula'
|
||||
|
||||
class Strategoxt <Formula
|
||||
url 'ftp://ftp.stratego-language.org/pub/stratego/StrategoXT/strategoxt-0.17/strategoxt-0.17.tar.gz'
|
||||
homepage 'http://strategoxt.org/Stratego/WebHome'
|
||||
md5 '6a1523ec105c5091a8174b276aceea1b'
|
||||
|
||||
depends_on 'aterm'
|
||||
depends_on 'sdf'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
# The build fails mysteriously with -j4
|
||||
ENV.j1
|
||||
system "make install"
|
||||
end
|
||||
|
||||
def caveats
|
||||
<<-EOS.undent
|
||||
Auxiliary programs have been installed to:
|
||||
#{libexec}
|
||||
EOS
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue