homebrew-core/Formula/libdv.rb

26 lines
891 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libdv < Formula
homepage 'http://libdv.sourceforge.net'
url 'https://downloads.sourceforge.net/libdv/libdv-1.0.0.tar.gz'
sha1 '2e5ba0e95f665d60e72cbebcf1c4989e0d6c92c8'
depends_on 'popt'
def install
# This fixes an undefined symbol error on compile.
# See the port file for libdv. http://libdv.darwinports.com/
# This flag is the preferred method over what macports uses.
# See the apple docs: http://cl.ly/2HeF bottom of the "Finding Imported Symbols" section
ENV.append "LDFLAGS", "-undefined dynamic_lookup"
2013-01-29 05:24:22 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-gtktest",
"--disable-gtk",
"--disable-asm",
"--disable-sdltest"
system "make install"
end
2011-03-10 05:11:03 +00:00
end