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 Homebrew/homebrew#25530.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Rob Hunter 2013-12-28 19:08:44 +11:00 committed by Adam Vandenberg
parent bdc946f9a7
commit 3b75bdcbe8

21
Formula/innoextract.rb Normal file
View file

@ -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