19 lines
354 B
Ruby
19 lines
354 B
Ruby
|
require 'formula'
|
||
|
|
||
|
class Z80asm < Formula
|
||
|
homepage 'http://www.nongnu.org/z80asm/'
|
||
|
url 'http://download.savannah.gnu.org/releases/z80asm/z80asm-1.8.tar.gz'
|
||
|
sha1 '9d169ac728a9a3b162c0a7ea34da55cf37ada0e1'
|
||
|
|
||
|
def install
|
||
|
system 'make'
|
||
|
|
||
|
bin.install 'z80asm'
|
||
|
man1.install 'z80asm.1'
|
||
|
end
|
||
|
|
||
|
test do
|
||
|
system bin/'z80asm', '-V'
|
||
|
end
|
||
|
end
|