aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJustin Baugh2013-08-01 18:17:40 -0400
committerAdam Vandenberg2013-08-15 20:42:48 -0700
commit4888c02c30bb43b436249b60abaa1ee516fd03d3 (patch)
tree100c0ed13a9079a643b95c6870db694e50f7651d /Library
parent2ebe83ce1789371e09410cada6f05bb260d12b6c (diff)
downloadhomebrew-4888c02c30bb43b436249b60abaa1ee516fd03d3.tar.bz2
dtrx 7.1
Closes #21599. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/dtrx.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/dtrx.rb b/Library/Formula/dtrx.rb
new file mode 100644
index 000000000..cb9ce68e2
--- /dev/null
+++ b/Library/Formula/dtrx.rb
@@ -0,0 +1,22 @@
+require 'formula'
+
+class Dtrx < Formula
+ homepage 'http://brettcsmith.org/2007/dtrx/'
+ url 'http://brettcsmith.org/2007/dtrx/dtrx-7.1.tar.gz'
+ sha1 '05cfe705a04a8b84571b0a5647cd2648720791a4'
+
+ depends_on :python2
+ depends_on 'cabextract' => :optional
+ depends_on 'lha' => :optional
+ depends_on 'unshield' => :optional
+ depends_on 'unrar' => :recommended
+ depends_on 'p7zip' => :recommended
+
+ def install
+ system python, "setup.py", "install", "--prefix=#{prefix}"
+ end
+
+ test do
+ system "#{bin}/dtrx", "--version"
+ end
+end