29 lines
1.4 KiB
Ruby
29 lines
1.4 KiB
Ruby
class OpencoreAmr < Formula
|
|
desc "Audio codecs extracted from Android open source project"
|
|
homepage "https://opencore-amr.sourceforge.io/"
|
|
url "https://downloads.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-0.1.5.tar.gz"
|
|
sha256 "2c006cb9d5f651bfb5e60156dbff6af3c9d35c7bbcc9015308c0aff1e14cd341"
|
|
license "Apache-2.0"
|
|
|
|
livecheck do
|
|
url :stable
|
|
regex(%r{url=.*?/opencore-amr[._-]v?(\d+(?:\.\d+)+)\.t}i)
|
|
end
|
|
|
|
bottle do
|
|
sha256 cellar: :any, arm64_big_sur: "0bba66cb88f85fa1bd81905d59e807d0329af2e1c0e2c9ccca6177116c7c1d58"
|
|
sha256 cellar: :any, big_sur: "cdde538ce64ce7ed1aa7fc0d5c023978307738a831d6fb8eb717d073b6b085ce"
|
|
sha256 cellar: :any, catalina: "424d294d95aa7539842f1c2402a0be6ba558fa22680a0f5681998b12cf45a152"
|
|
sha256 cellar: :any, mojave: "816d5463797b6412fd8944b98ab79d766dcf886b9eb37d83778fb7648d995603"
|
|
sha256 cellar: :any, high_sierra: "5f5f7853d97b957abb8671af372bd3a4a13191ccd135799cbad44aa3c66034ec"
|
|
sha256 cellar: :any, sierra: "2b6378d4427dc88bac7e01d2614dd100535f1d78b1e6b81560e3a074e1d5a770"
|
|
sha256 cellar: :any, el_capitan: "4b628ad01f725342698a8556c4176f5d57e3647cc0f52669092a0523b76cc5d0"
|
|
sha256 cellar: :any, yosemite: "0e8940ad28407b353c69b7fa0cdcd7d90777345f5ea86dcc9974552f99c1030c"
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
end
|