diff options
| author | Gray Manley | 2010-09-07 09:01:49 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2010-09-07 07:41:13 -0700 |
| commit | 0d43c57c892a34769c7d003d07f68e42e4c36fd1 (patch) | |
| tree | 3dba3cb1d8abf171562c36c155a90f26bb726874 /Library/Formula/libdv.rb | |
| parent | 137dd7e2ea709678b1265a9b31487378ac5d5a6d (diff) | |
| download | homebrew-0d43c57c892a34769c7d003d07f68e42e4c36fd1.tar.bz2 | |
Added libdv formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/libdv.rb')
| -rw-r--r-- | Library/Formula/libdv.rb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/libdv.rb b/Library/Formula/libdv.rb new file mode 100644 index 000000000..8e6df5cea --- /dev/null +++ b/Library/Formula/libdv.rb @@ -0,0 +1,24 @@ +require 'formula' + +class Libdv <Formula + url 'http://downloads.sourceforge.net/libdv/libdv-1.0.0.tar.gz' + homepage 'http://libdv.sourceforge.net' + md5 'f895162161cfa4bb4a94c070a7caa6c7' + + 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 prefered 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" + + system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking", + "--disable-gtktest", + "--disable-gtk", + "--disable-asm", + "--disable-sdltest" + system "make install" + end +end
\ No newline at end of file |
