homebrew-core/Formula/wla-dx.rb

19 lines
548 B
Ruby
Raw Normal View History

require 'formula'
class WlaDx < Formula
homepage 'http://www.villehelin.com/wla.html'
url 'http://www.villehelin.com/wla_dx_9.5a.tar.gz'
md5 '5930d9142c7b99026e021234be527a9c'
head 'https://wladx.svn.sourceforge.net/svnroot/wladx'
def install
%w{CFLAGS CXXFLAGS CPPFLAGS}.each { |e| ENV.delete(e) }
ENV.append_to_cflags '-c -O3 -ansi -pedantic -Wall'
system "chmod +x unix.sh"
system "chmod +x opcode_table_generator/create_tables.sh"
system "./unix.sh", ENV.make_jobs
bin.install Dir['./binaries/*']
end
end