homebrew-core/Formula/midicsv.rb

18 lines
494 B
Ruby

class Midicsv < Formula
desc "Convert MIDI audio files to human-readable CSV format"
homepage "https://www.fourmilab.ch/webtools/midicsv"
url "https://www.fourmilab.ch/webtools/midicsv/midicsv-1.1.tar.gz"
sha256 "7c5a749ab5c4ebac4bd7361df0af65892f380245be57c838e08ec6e4ac9870ef"
def install
system "make"
system "make", "check"
system "make", "install", "INSTALL_DEST=#{prefix}"
share.install prefix/"man"
end
test do
system "#{bin}/midicsv", "-u"
end
end