27 lines
1.2 KiB
Ruby
27 lines
1.2 KiB
Ruby
class Shntool < Formula
|
|
desc "Multi-purpose tool for manipulating and analyzing WAV files"
|
|
homepage "http://etree.org/shnutils/shntool/"
|
|
url "http://etree.org/shnutils/shntool/dist/src/shntool-3.0.10.tar.gz"
|
|
mirror "https://www.mirrorservice.org/sites/download.salixos.org/x86_64/extra-14.2/source/audio/shntool/shntool-3.0.10.tar.gz"
|
|
sha256 "74302eac477ca08fb2b42b9f154cc870593aec8beab308676e4373a5e4ca2102"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "54203e7c0cf7a257ecc3cec107b55afd14b98edc9b8713082fbf6282eb863e38" => :high_sierra
|
|
sha256 "5548c0401df42faa7ade30e9c98656828864c3677836f72100aa80f4a92ff249" => :sierra
|
|
sha256 "910da256436f55ebf40c487ebd0e74da2979f01bf0adac83272b353c66ba99a8" => :el_capitan
|
|
sha256 "46d99776bb02d9721f30a6cb9b2c44293d3fbc6b4e3f522df869a7106b09a448" => :yosemite
|
|
sha256 "fa745e31b3c2aadb20d5c87f7175f00b3c5a39b6664ea0a9aa9d88d5767781c5" => :mavericks
|
|
sha256 "10fb74d16244a21c15676ec9fce007167ef7784b83a0d10afb3d0f87b86ab292" => :mountain_lion
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/shninfo", test_fixtures("test.wav")
|
|
end
|
|
end
|