homebrew-core/Formula/libvorbis.rb
2017-05-06 00:57:34 +02:00

32 lines
1,003 B
Ruby

class Libvorbis < Formula
desc "Vorbis General Audio Compression Codec"
homepage "http://vorbis.com/"
url "http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz"
sha256 "54f94a9527ff0a88477be0a71c0bab09a4c3febe0ed878b24824906cd4b0e1d1"
revision 1
bottle do
cellar :any
sha256 "bb0732d6af0d2a9cdf1004ebbf48da1758cfac1fbb65cfbb91d0bbf936d7d596" => :sierra
sha256 "8a0b39934d086a5be7d7daede5807bd99baf0d9f5ce5dc860abcec3427c32a44" => :el_capitan
sha256 "e3892e6523bc1411f5b164b7c64f392897c7735894aa654688cd904d4cfaa3b2" => :yosemite
end
head do
url "https://git.xiph.org/vorbis.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end
depends_on "pkg-config" => :build
depends_on "libogg"
def install
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
end