blob: efedc5fc6c9253093be25c205292e41c8b563e17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
require 'formula'
class Libdca < Formula
homepage 'http://www.videolan.org/developers/libdca.html'
url 'http://download.videolan.org/pub/videolan/libdca/0.0.5/libdca-0.0.5.tar.bz2'
sha1 '3fa5188eaaa2fc83fb9c4196f6695a23cb17f3bc'
def install
# Fixes "duplicate symbol ___sputc" error when building with clang
# https://github.com/Homebrew/homebrew/issues/31456
ENV.append_to_cflags "-std=gnu89"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make install"
end
end
|