aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/itstool.rb
diff options
context:
space:
mode:
authorAdam Malcontenti-Wilson2012-12-21 07:14:41 +1100
committerAdam Vandenberg2013-01-04 14:37:18 -0800
commitbae57839c48eeb0832c45e58f2cdd9d406bf0f45 (patch)
tree9ad80667c2e1d9e5e3fd05e5ec6ec6757a089503 /Library/Formula/itstool.rb
parent4eb6460c686b4b67fe698b55cc5cbcc04f2a9f76 (diff)
downloadhomebrew-bae57839c48eeb0832c45e58f2cdd9d406bf0f45.tar.bz2
itstool 1.2.0
Closes #16684. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/itstool.rb')
-rw-r--r--Library/Formula/itstool.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/itstool.rb b/Library/Formula/itstool.rb
new file mode 100644
index 000000000..7070a449f
--- /dev/null
+++ b/Library/Formula/itstool.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Itstool < Formula
+ homepage 'http://itstool.org/'
+ url 'http://files.itstool.org/itstool/itstool-1.2.0.tar.bz2'
+ sha1 'dc6b766c2acec32d3c5d016b0a33e9268d274f63'
+
+ head 'git://gitorious.org/itstool/itstool.git'
+
+ depends_on :autoconf if build.head?
+ depends_on :automake if build.head?
+
+ def install
+ system "./autogen.sh" if build.head?
+ system "./configure", "--prefix=#{prefix}"
+ system "make install"
+ end
+end