2012-10-21 22:44:45 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Jq < Formula
|
|
|
|
homepage 'http://stedolan.github.com/jq/'
|
2012-12-29 18:31:54 +00:00
|
|
|
url 'https://github.com/stedolan/jq/archive/jq-1.2.tar.gz'
|
|
|
|
sha1 'cdc57153a8105d9918cb84dff183cca8aa36f6de'
|
|
|
|
|
2012-10-21 22:44:45 +00:00
|
|
|
head 'https://github.com/stedolan/jq.git'
|
|
|
|
|
2012-12-29 18:31:54 +00:00
|
|
|
depends_on 'bison'
|
|
|
|
|
2012-10-21 22:44:45 +00:00
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
bin.install 'jq'
|
|
|
|
end
|
|
|
|
end
|