aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/wimlib.rb
diff options
context:
space:
mode:
authorTony Cebzanov2013-09-13 10:08:18 -0400
committerAdam Vandenberg2013-09-15 17:59:15 -0700
commitf2bc45f8756b52d7771d6e1830eef4a78a79f279 (patch)
tree29292e92006f54784d707079ff08dba8128157d9 /Library/Formula/wimlib.rb
parent702f57fca887bfbbe545ad5bd4ef024e0eae6d66 (diff)
downloadhomebrew-f2bc45f8756b52d7771d6e1830eef4a78a79f279.tar.bz2
wimlib 1.5.0
Closes #22516. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/wimlib.rb')
-rw-r--r--Library/Formula/wimlib.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/wimlib.rb b/Library/Formula/wimlib.rb
new file mode 100644
index 000000000..e603a9557
--- /dev/null
+++ b/Library/Formula/wimlib.rb
@@ -0,0 +1,23 @@
+require 'formula'
+
+class Wimlib < Formula
+ homepage 'http://sourceforge.net/projects/wimlib/'
+ url 'http://downloads.sourceforge.net/project/wimlib/wimlib-1.5.0.tar.gz'
+ sha1 '3a86bd84a27d1db0c33dc15d277dd5b94968379a'
+
+ 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 "wiminfo", "--help"
+ end
+end