homebrew-core/Formula/midicsv.rb
2019-10-18 18:21:05 +02:00

28 lines
1.2 KiB
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 "5d36fed687c5f4b23c0705ff261a798697bcda5d4fefa6d86d6a1449ad1efa50" => :catalina
sha256 "3fcfcbe9f5b248c681f57eccd4c17c2f93d1a977c3a19949cbeee6dd77038787" => :mojave
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