20 lines
740 B
Ruby
20 lines
740 B
Ruby
class Libsoxr < Formula
|
|
desc "High quality, one-dimensional sample-rate conversion library"
|
|
homepage "https://sourceforge.net/projects/soxr/"
|
|
url "https://downloads.sourceforge.net/project/soxr/soxr-0.1.3-Source.tar.xz"
|
|
sha256 "b111c15fdc8c029989330ff559184198c161100a59312f5dc19ddeb9b5a15889"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "10b952f7e1ca5f9c839f87a2920e6739d4e3c262e88b05a3b8a62074de69e5ac" => :high_sierra
|
|
sha256 "b469390e789389d10825c86d2ed825e1cb64efd14ecf98870043178846ed38ab" => :sierra
|
|
sha256 "473b6f61851824ec47918a423295332f00d2ac802f2da4ef7058c621a4f365b0" => :el_capitan
|
|
end
|
|
|
|
depends_on "cmake" => :build
|
|
|
|
def install
|
|
system "cmake", ".", *std_cmake_args
|
|
system "make", "install"
|
|
end
|
|
end
|