homebrew-core/Formula/two-lame.rb

28 lines
987 B
Ruby

class TwoLame < Formula
desc "Optimized MPEG Audio Layer 2 (MP2) encoder"
# Homepage down since at least December 2015
# homepage "http://www.twolame.org/"
homepage "https://sourceforge.net/projects/twolame/"
url "https://downloads.sourceforge.net/twolame/twolame-0.3.13.tar.gz"
sha256 "98f332f48951f47f23f70fd0379463aff7d7fb26f07e1e24e42ddef22cc6112a"
bottle do
cellar :any
sha256 "f42b6a20cbe1d020ed818145180be176361ceda2c203a09bddc0bc1f4c903530" => :el_capitan
sha256 "7d5a39e1189f77321a2603b77984c57970f897a69aee9bccc008e84a807dbf59" => :yosemite
sha256 "b03ee3602cad74094fc1141c3fd9aac92f2e298bf0f98a3281a6ba3f547511cd" => :mavericks
end
option "with-libsndfile", "Build the twolame frontend"
deprecated_option "frontend" => "with-libsndfile"
depends_on "libsndfile" => :optional
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
end