2013-12-28 08:08:44 +00:00
|
|
|
class Innoextract < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Tool to unpack installers created by Inno Setup"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://constexpr.org/innoextract/"
|
|
|
|
url "https://github.com/dscharrer/innoextract/archive/1.4.tar.gz"
|
|
|
|
sha256 "7f7eabd5e2f138c9739ac0df457b0f81548ed021068b2b1ec640584747887f52"
|
|
|
|
head "https://github.com/dscharrer/innoextract.git"
|
2013-12-28 08:08:44 +00:00
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "cmake" => :build
|
|
|
|
depends_on "boost"
|
|
|
|
depends_on "xz"
|
2013-12-28 08:08:44 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "cmake", ".", *std_cmake_args
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/innoextract", "--version"
|
|
|
|
end
|
|
|
|
end
|