mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-07 10:32:36 -05:00
33 lines
841 B
Ruby
33 lines
841 B
Ruby
class Libogg < Formula
|
|
desc "Ogg Bitstream Library"
|
|
homepage "https://www.xiph.org/ogg/"
|
|
url "http://downloads.xiph.org/releases/ogg/libogg-1.3.5.tar.gz"
|
|
sha256 "0eb4b4b9420a0f51db142ba3f9c64b333f826532dc0f48c6410ae51f4799b664"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "add686d8a8ef1a576a40e537d257706af6224c266f88d3797381b6cf32ec6442" => :tiger_altivec
|
|
end
|
|
|
|
head do
|
|
url "https://svn.xiph.org/trunk/ogg"
|
|
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "libtool" => :build
|
|
end
|
|
|
|
option :universal
|
|
|
|
def install
|
|
ENV.universal_binary if build.universal?
|
|
|
|
system "./autogen.sh" if build.head?
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make"
|
|
ENV.deparallelize
|
|
system "make", "install"
|
|
end
|
|
end
|