2012-10-21 22:44:45 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Jq < Formula
|
2013-04-07 02:34:41 +00:00
|
|
|
homepage 'http://stedolan.github.io/jq/'
|
2013-05-23 16:29:36 +00:00
|
|
|
url 'http://stedolan.github.io/jq/download/source/jq-1.3.tar.gz'
|
|
|
|
sha1 'ac1f19e5d9921683af25251e97c2c4bfee895ca2'
|
2012-12-29 18:31:54 +00:00
|
|
|
|
2012-10-21 22:44:45 +00:00
|
|
|
head 'https://github.com/stedolan/jq.git'
|
|
|
|
|
|
|
|
def install
|
2013-05-23 16:29:36 +00:00
|
|
|
system "./configure"
|
2012-10-21 22:44:45 +00:00
|
|
|
system "make"
|
|
|
|
bin.install 'jq'
|
2013-05-31 11:01:46 +00:00
|
|
|
man1.install 'jq.1'
|
2012-10-21 22:44:45 +00:00
|
|
|
end
|
|
|
|
end
|