26 lines
1,004 B
Ruby
26 lines
1,004 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"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "737ea2eda70a778d076568af902f16d609aaae4baeb7ada7795c32d4de886f81" => :high_sierra
|
|
sha256 "314a21ac6aaad39594a54bae4bf3ecc64e3ef0cd655e7c18c6ff05ebd72c9b86" => :sierra
|
|
sha256 "230ba9ec9cbb40c2c128c1a063152fd07888210f59bf37f1f68bcd2f33d4d863" => :el_capitan
|
|
sha256 "f649e02908dee31c35e9b73954b8faad2da70e1c7e621fddb64f18dbad897036" => :yosemite
|
|
sha256 "289d13313a2f5d7dbc8ebf61450ba336bdba9849be352dc5b705c0d2c4b13d3e" => :mavericks
|
|
end
|
|
|
|
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
|