Permalink
Browse files

itstool 1.2.0

Closes #16684.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent dfc819b commit f8275656aad15813b275d71eef86addf1d069ca2 @adammw adammw committed with klausmeyer Dec 20, 2012
Showing with 18 additions and 0 deletions.
  1. +18 −0 Library/Formula/itstool.rb
View
@@ -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

0 comments on commit f827565

Please sign in to comment.