aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMatt Ball2010-05-26 21:56:53 -0700
committerAdam Vandenberg2010-07-16 11:12:24 -0700
commit97b120fce316caaa876e2a32ce8135fe699cca97 (patch)
tree48e228db640b5bc5e32f611fa532c2c12a8f91af /Library/Formula
parent949efbafb962043b53b8d33df5a66fb0c8df1560 (diff)
downloadhomebrew-97b120fce316caaa876e2a32ce8135fe699cca97.tar.bz2
Added mediainfo formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Renamed per Homebrew naming convention
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/media-info.rb26
1 files changed, 26 insertions, 0 deletions
diff --git a/Library/Formula/media-info.rb b/Library/Formula/media-info.rb
new file mode 100644
index 000000000..4e22ac631
--- /dev/null
+++ b/Library/Formula/media-info.rb
@@ -0,0 +1,26 @@
+require 'formula'
+
+class MediaInfo <Formula
+ url 'http://ovh.dl.sourceforge.net/sourceforge/mediainfo/MediaInfo_CLI_0.7.8_GNU_FromSource.tar.bz2'
+ homepage 'http://mediainfo.sourceforge.net'
+ version '0.7.8'
+ md5 '9df4cf265802bae929450954f15a46d1'
+
+ depends_on 'pkg-config'
+
+ def install
+ root_dir = Dir.pwd
+
+ Dir.chdir root_dir + '/ZenLib/Project/GNU/Library'
+ system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make"
+
+ Dir.chdir root_dir + "/MediaInfoLib/Project/GNU/Library"
+ system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make install"
+
+ Dir.chdir root_dir + "/MediaInfo/Project/GNU/CLI"
+ system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ system "make install"
+ end
+end