cbmbasic: head added
Closes Homebrew/homebrew#36352. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
14dea53a12
commit
821820f819
1 changed files with 6 additions and 7 deletions
|
@ -1,16 +1,15 @@
|
|||
require 'formula'
|
||||
|
||||
class Cbmbasic < Formula
|
||||
homepage 'http://cbmbasic.sourceforge.net/'
|
||||
url 'https://downloads.sourceforge.net/project/cbmbasic/cbmbasic/1.0/cbmbasic-1.0.tgz'
|
||||
sha1 '54564daa7f28be98b03ae7dd1eece9e5439c95c3'
|
||||
homepage "https://github.com/mist64/cbmbasic"
|
||||
url "https://downloads.sourceforge.net/project/cbmbasic/cbmbasic/1.0/cbmbasic-1.0.tgz"
|
||||
sha1 "54564daa7f28be98b03ae7dd1eece9e5439c95c3"
|
||||
head "https://github.com/mist64/cbmbasic.git"
|
||||
|
||||
def install
|
||||
system "make", "CFLAGS=#{ENV.cflags}", "LDFLAGS=#{ENV.ldflags}"
|
||||
bin.install 'cbmbasic'
|
||||
bin.install "cbmbasic"
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match /READY.\r\n 1/, pipe_output("#{bin}/cbmbasic", "PRINT 1\n")
|
||||
assert_match(/READY.\r\n 1/, pipe_output("#{bin}/cbmbasic", "PRINT 1\n", 0))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue