95884bae22
Closes Homebrew/homebrew#42407. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
19 lines
757 B
Ruby
19 lines
757 B
Ruby
class Sc68 < Formula
|
|
desc "Play music originally designed for Atari ST and Amiga computers"
|
|
homepage "http://sc68.atari.org/project.html"
|
|
url "https://downloads.sourceforge.net/project/sc68/sc68/2.2.1/sc68-2.2.1.tar.gz"
|
|
sha256 "d7371f0f406dc925debf50f64df1f0700e1d29a8502bb170883fc41cc733265f"
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--mandir=#{man}",
|
|
"--infodir=#{info}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
# SC68 ships with a sample module; test attempts to print its metadata
|
|
system "#{bin}/info68", "#{share}/sc68/Sample/About-Intro.sc68", "-C", ": ", "-N", "-L"
|
|
end
|
|
end
|