aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorRob Hunter2013-12-28 19:08:44 +1100
committerAdam Vandenberg2014-02-16 17:11:58 -0800
commitcbb4b0cb99f97cd39a675bc0182659daf74ee2e8 (patch)
tree9349520fb75c95cbaed95fe1240c9fe46fb3b847 /Library/Formula
parenta4044e701be529a3a8a6d410d548c0f5bbc7250d (diff)
downloadhomebrew-cbb4b0cb99f97cd39a675bc0182659daf74ee2e8.tar.bz2
innoextract: 1.4 - extract Windows setup archives
Inno Setup is a tool to create Microsoft Windows application installers. This tool, innoextract, allows non-Windows systems to extract such installers under without running the actual installer (so no need for Wine or anything like that). Closes #25530. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/innoextract.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/innoextract.rb b/Library/Formula/innoextract.rb
new file mode 100644
index 000000000..f0e447ca5
--- /dev/null
+++ b/Library/Formula/innoextract.rb
@@ -0,0 +1,21 @@
+require 'formula'
+
+class Innoextract < Formula
+ homepage 'http://constexpr.org/innoextract/'
+ url 'https://github.com/dscharrer/innoextract/archive/1.4.tar.gz'
+ sha1 '63f5c52eb1e558e7f5f4221769fd6991812f6ef8'
+ head 'https://github.com/dscharrer/innoextract.git'
+
+ depends_on 'cmake' => :build
+ depends_on 'boost'
+ depends_on 'xz'
+
+ def install
+ system "cmake", ".", *std_cmake_args
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/innoextract", "--version"
+ end
+end