homebrew-core/Formula/libresample.rb

23 lines
923 B
Ruby

class Libresample < Formula
desc "Audio resampling C library"
homepage "https://ccrma.stanford.edu/~jos/resample/Available_Software.html"
url "https://mirrorservice.org/sites/ftp.debian.org/debian/pool/main/libr/libresample/libresample_0.1.3.orig.tar.gz"
sha256 "20222a84e3b4246c36b8a0b74834bb5674026ffdb8b9093a76aaf01560ad4815"
bottle do
cellar :any_skip_relocation
revision 2
sha256 "ba2446005f2417fa81e5a5963d2273494396f8821ee95fd84ed9825342564598" => :el_capitan
sha256 "2f58f8b45cd7b6f89f645cb90d3b4f63dd0a28e927713f3a4664c348e3a15a21" => :yosemite
sha256 "61a8ab0861ce6e6c45632b7235eaf718e4be191fe8c184ba8f065d436681d786" => :mavericks
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
lib.install "libresample.a"
include.install "include/libresample.h"
end
end