blob: 066272da9226a341c003c6a9f3d7fd2be82ac495 (
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 Wimlib < Formula
homepage 'http://sourceforge.net/projects/wimlib/'
url 'https://downloads.sourceforge.net/project/wimlib/wimlib-1.5.3.tar.gz'
sha1 '07cfd75ad452cb29f0061196db3bb38230ece3de'
bottle do
cellar :any
sha1 "5ded91da7bc581ef671d456c45598084a21d78dd" => :mavericks
sha1 "cff1e472add1248fc751d6fa8f93034a2af8b197" => :mountain_lion
sha1 "f7ed2dcc8efebe0702f188d3c0846392438b0c70" => :lion
end
depends_on 'pkg-config' => :build
depends_on 'ntfs-3g'
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--without-fuse", # requires librt, unavailable on OSX
"--prefix=#{prefix}"
system "make", "install"
end
test do
system bin/"wiminfo", "--help"
end
end
|