parent
bd2aec431f
commit
44628f7c72
|
@ -5,14 +5,23 @@ class Libdc1394 < Formula
|
|||
url 'http://downloads.sourceforge.net/project/libdc1394/libdc1394-2/2.2.1/libdc1394-2.2.1.tar.gz'
|
||||
sha1 'b92c9670b68c4e5011148f16c87532bef2e5b808'
|
||||
|
||||
depends_on :libtool
|
||||
depends_on :automake
|
||||
depends_on :autoconf
|
||||
|
||||
def patches
|
||||
p = []
|
||||
# fix issue due to bug in OSX Firewire stack
|
||||
# libdc1394 author comments here:
|
||||
# http://permalink.gmane.org/gmane.comp.multimedia.libdc1394.devel/517
|
||||
DATA
|
||||
p << DATA
|
||||
|
||||
# Backport of upstream fixes for building on OS X
|
||||
p << "https://gist.github.com/jacknagel/7395159/raw/3ba722636fb898d210170f5d8a494977c89626b7/libdc1394.patch"
|
||||
end
|
||||
|
||||
def install
|
||||
system "autoreconf", "-fvi"
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--disable-examples",
|
||||
|
|
Loading…
Reference in New Issue