2013-08-01 22:17:40 +00:00
|
|
|
class Dtrx < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Intelligent archive extraction"
|
2016-07-06 11:25:15 +00:00
|
|
|
homepage "https://brettcsmith.org/2007/dtrx/"
|
|
|
|
url "https://brettcsmith.org/2007/dtrx/dtrx-7.1.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "1c9afe48e9d9d4a1caa4c9b0c50593c6fe427942716ce717d81bae7f8425ce97"
|
2013-08-01 22:17:40 +00:00
|
|
|
|
2016-04-09 14:10:04 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
2016-09-25 03:46:21 +00:00
|
|
|
sha256 "812e92d3899f795921dced2d1085dec1258a659595e1a0545e67a03be653b9ca" => :sierra
|
2016-04-09 14:10:04 +00:00
|
|
|
sha256 "5419cb8b5327a5770d1d8a541a11c47f9195885964af3977110a4bd752a63ff7" => :el_capitan
|
|
|
|
sha256 "15359cfa40144872520eba6cdb132a1bfc0534b66cfd87c6efab3d57221ba66f" => :yosemite
|
|
|
|
sha256 "c023c31dfc27c2a198ff310bfa0438fac034209f39e42800ee5d462bb2be3e6b" => :mavericks
|
|
|
|
end
|
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "cabextract" => :optional
|
|
|
|
depends_on "lha" => :optional
|
|
|
|
depends_on "unshield" => :optional
|
|
|
|
depends_on "unrar" => :recommended
|
|
|
|
depends_on "p7zip" => :recommended
|
2013-08-01 22:17:40 +00:00
|
|
|
|
|
|
|
def install
|
2014-01-04 13:04:45 +00:00
|
|
|
system "python", "setup.py", "install", "--prefix=#{prefix}"
|
2013-08-01 22:17:40 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/dtrx", "--version"
|
|
|
|
end
|
|
|
|
end
|