Commit 07858f5e authored by Casey Strouse's avatar Casey Strouse Committed by Ed Reel

Update jsonc from 0.13-nodoc to 0.13.1-20180305 (#3604)

Tested on ARM.
parent 2b465ad5
......@@ -3,31 +3,24 @@ require 'package'
class Jsonc < Package
description 'JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects.'
homepage 'https://github.com/json-c/json-c/wiki'
version '0.13-nodoc'
source_url 'https://s3.amazonaws.com/json-c_releases/releases/json-c-0.13-nodoc.tar.gz'
source_sha256 '8572760646e9d23ee68f967ca62fa134a97b931665fd9af562192b7788c95a06'
version '0.13.1-20180305'
source_url 'https://github.com/json-c/json-c/archive/json-c-0.13.1-20180305.tar.gz'
source_sha256 '5d867baeb7f540abe8f3265ac18ed7a24f91fe3c5f4fd99ac3caba0708511b90'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/jsonc-0.13-nodoc-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/jsonc-0.13-nodoc-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/jsonc-0.13-nodoc-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/jsonc-0.13-nodoc-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '7a7202d506c9ed3580b02f37e7aae42ecb665e240fa45d09d16cb9c4de501745',
armv7l: '7a7202d506c9ed3580b02f37e7aae42ecb665e240fa45d09d16cb9c4de501745',
i686: 'c9305143aec228f737b3fc952ccd22ae0e139174b7bd46e8f25ef06b2bdf2131',
x86_64: 'ecfa4db7850b31558d70ac0d92f372c4fd1082fcd04130a51b4520f591bcb5fb',
})
depends_on "autoconf" => :build
def self.build
system "./configure", "--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}"
system "make"
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "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