blob: b01cbdc6522c7a3ec2955c8c43249ae359fd51f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
require 'formula'
class Libogg < Formula
homepage 'http://www.xiph.org/ogg/'
url 'http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.gz'
md5 '0a7eb40b86ac050db3a789ab65fe21c2'
head 'http://svn.xiph.org/trunk/ogg'
if ARGV.build_head?
depends_on "automake" => :build
if MacOS.xcode_version >= "4.3"
depends_on "libtool" => :build
depends_on "autoconf" => :build
end
end
def install
system "./autogen.sh" if ARGV.build_head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
ENV.deparallelize
system "make install"
end
end
|