atasm 1.07d (new formula)
Formula brings another 6502 assembler, compatible with popular in '80s MAC/65 Atari macroassembler. Closes #44917. Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
parent
786b15f4c8
commit
af893a7063
1 changed files with 23 additions and 0 deletions
23
Formula/atasm.rb
Normal file
23
Formula/atasm.rb
Normal file
|
@ -0,0 +1,23 @@
|
|||
class Atasm < Formula
|
||||
desc "Atari MAC/65 compatible assembler for Unix"
|
||||
homepage "https://atari.miribilist.com/atasm/"
|
||||
url "https://atari.miribilist.com/atasm/atasm107d.zip"
|
||||
version "1.07d"
|
||||
sha256 "24a165506346029fbe05ed99b22900ae50f91f5a8c5d38ebad6a92a5c53f3d99"
|
||||
|
||||
def install
|
||||
cd "src" do
|
||||
system "make", "prog"
|
||||
bin.install "atasm"
|
||||
system "sed -e 's,%%DOCDIR%%,/usr/local/share/doc/atasm,g' < atasm.1.in > atasm.1"
|
||||
man1.install "atasm.1"
|
||||
end
|
||||
doc.install "examples"
|
||||
end
|
||||
|
||||
test do
|
||||
cd "#{doc}/examples" do
|
||||
system "#{bin}/atasm", "-v", "test.m65", "-o/tmp/test.bin"
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue