29b5135906
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
18 lines
548 B
Ruby
18 lines
548 B
Ruby
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
|