blob: 8fec61ecc3763a3a74f1918ce0d59382bae3ab3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require 'formula'
class Libdvbpsi < Formula
homepage 'http://www.videolan.org/developers/libdvbpsi.html'
url 'http://download.videolan.org/pub/libdvbpsi/0.2.2/libdvbpsi-0.2.2.tar.bz2'
sha1 '562d46ce256a678309f7c39be8cf31eea4bf6757'
bottle do
cellar :any
sha1 "43170452610ab08f16eeb1fbcee4b35d20ec7378" => :mavericks
sha1 "7e762ad29ce50d2f0a058f578269e64715f0d54a" => :mountain_lion
sha1 "acb50f276aa3fba895801775a0b28fda144800ee" => :lion
end
def install
# Clang doesn't recognize O6. Just remove it. Fixes a build error.
inreplace 'configure', 'CFLAGS="${CFLAGS} -O6"', 'CFLAGS="${CFLAGS}"'
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--enable-release"
system "make install"
end
end
|