Commit 47f8abce authored by Casey Strouse's avatar Casey Strouse

Add package for jq

This adds jq (1.5) which is a command line filter for processing JSON. Configure warns about missing Ruby dependencies which I'm ignoring since we don't have proper manpage support yet and I don't see a need for bringing in additional bloat when disk space is limited for us to begin with. Also, regex support requires oniguruma which will come shortly.

Tested sucessfully on Samsung Chromebook 3 (XE500C13-K01US).
parent f34720c8
require 'package'
class Jq < Package
version '1.5'
source_url 'https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz'
source_sha1 '6eef3705ac0a322e8aa0521c57ce339671838277'
def self.build
system "./configure --prefix=/usr/local --disable-maintainer-mode"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment