From 4ffd98335e6e3004f497dc2b6dd151605f9770f2 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 9 Feb 2021 16:26:03 +0300 Subject: json-c: add new package at 0.15 --- extra/json-c/build | 12 ++++++++++++ extra/json-c/checksums | 1 + extra/json-c/depends | 1 + extra/json-c/sources | 1 + extra/json-c/version | 1 + 5 files changed, 16 insertions(+) create mode 100755 extra/json-c/build create mode 100644 extra/json-c/checksums create mode 100644 extra/json-c/depends create mode 100644 extra/json-c/sources create mode 100644 extra/json-c/version (limited to 'extra/json-c') diff --git a/extra/json-c/build b/extra/json-c/build new file mode 100755 index 00000000..7f4f480b --- /dev/null +++ b/extra/json-c/build @@ -0,0 +1,12 @@ +#!/bin/sh -e + +export DESTDIR="$1" + +cmake -B build \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTING=OFF + +cmake --build build +cmake --install build diff --git a/extra/json-c/checksums b/extra/json-c/checksums new file mode 100644 index 00000000..7f35ddc5 --- /dev/null +++ b/extra/json-c/checksums @@ -0,0 +1 @@ +4ba9a090a42cf1e12b84c64e4464bb6fb893666841d5843cc5bef90774028882 json-c-0.15-20200726.tar.gz diff --git a/extra/json-c/depends b/extra/json-c/depends new file mode 100644 index 00000000..7d91ec22 --- /dev/null +++ b/extra/json-c/depends @@ -0,0 +1 @@ +cmake make diff --git a/extra/json-c/sources b/extra/json-c/sources new file mode 100644 index 00000000..d72f151b --- /dev/null +++ b/extra/json-c/sources @@ -0,0 +1 @@ +https://github.com/json-c/json-c/archive/json-c-0.15-20200726.tar.gz diff --git a/extra/json-c/version b/extra/json-c/version new file mode 100644 index 00000000..a78cbfce --- /dev/null +++ b/extra/json-c/version @@ -0,0 +1 @@ +0.15 1 -- cgit v1.2.3