homebrew-core/Formula/mosml.rb

23 lines
547 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Mosml < Formula
version '2.01'
url 'http://www.itu.dk/people/sestoft/mosml/mos201src.tar.gz'
homepage 'http://www.itu.dk/people/sestoft/mosml.html'
sha1 'eba58486b10f0359fafba488fa1bf366b2aabf8a'
def install
cd "src"
inreplace "Makefile.inc" do |s|
s.change_make_var! 'MOSMLHOME', prefix
s.change_make_var! 'DOCDIR', doc
s.change_make_var! 'LIBDIR', lib+'mosml'
s.change_make_var! 'TOOLDIR', lib+'mosml'
end
2012-09-01 03:43:18 +00:00
system "make", "CPP=cpp"
system "make install"
end
2011-03-10 05:11:03 +00:00
end