2014-11-14 20:40:20 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class Libsoxr < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "High quality, one-dimensional sample-rate conversion library"
|
2014-11-14 20:40:20 +00:00
|
|
|
homepage "http://sourceforge.net/projects/soxr/"
|
|
|
|
url "https://downloads.sourceforge.net/project/soxr/soxr-0.1.1-Source.tar.xz"
|
|
|
|
mirror "https://mirrors.kernel.org/debian/pool/main/libs/libsoxr/libsoxr_0.1.1.orig.tar.xz"
|
|
|
|
sha1 "f5d90e375db3914a522fef477898bde8c70243e7"
|
|
|
|
|
2014-11-16 21:20:56 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "fd37418f49d09be7dea842f263c0f781ecc65a14" => :yosemite
|
|
|
|
sha1 "0fff9937e8254d636aaa7e0afb1d311a1fbff0e3" => :mavericks
|
|
|
|
sha1 "1da33c9683edeaa55a5d79dc08efd40e79a13b53" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2014-11-14 20:40:20 +00:00
|
|
|
depends_on "cmake" => :build
|
|
|
|
|
|
|
|
conflicts_with "sox", :because => "Sox contains soxr. Soxr is purely the resampler."
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "cmake", ".", *std_cmake_args
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
end
|