blob: e99ea5d108b2f385f5a1831c1682fd9e212f7f51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
require 'formula'
class Mkvtoolnix < Formula
homepage 'http://www.bunkus.org/videotools/mkvtoolnix/'
url 'http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-5.0.1.tar.bz2'
sha1 '900211d47ba6cbeb4188bb45a492a2b9edf08ed2'
head 'https://github.com/mbunkus/mkvtoolnix.git'
depends_on 'boost149'
depends_on 'libvorbis'
depends_on 'libmatroska'
depends_on 'flac' => :optional
depends_on 'lzo' => :optional
fails_with :clang do
build 318
cause "Compilation errors with older clang."
end
def install
old_boost = Formula.factory("boost149")
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
"--with-boost=#{old_boost.prefix}",
"--with-boost-regex=boost_regex-mt" # via macports
system "./drake", "-j#{ENV.make_jobs}"
system "./drake install"
end
end
|