2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-09 18:07:00 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libdvbpsi < Formula
|
2009-10-09 18:07:00 +00:00
|
|
|
homepage 'http://www.videolan.org/developers/libdvbpsi.html'
|
2012-08-08 15:38:11 +00:00
|
|
|
url 'http://download.videolan.org/pub/libdvbpsi/0.2.2/libdvbpsi-0.2.2.tar.bz2'
|
|
|
|
sha1 '562d46ce256a678309f7c39be8cf31eea4bf6757'
|
2009-10-09 18:07:00 +00:00
|
|
|
|
|
|
|
def install
|
2012-08-08 15:38:11 +00:00
|
|
|
# Clang doesn't recognize O6. Just remove it. Fixes a build error.
|
|
|
|
inreplace 'configure', 'CFLAGS="${CFLAGS} -O6"', 'CFLAGS="${CFLAGS}"'
|
2009-10-09 18:07:00 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--enable-release"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|