diff options
-rwxr-xr-x | extra/json-c/build | 12 | ||||
-rw-r--r-- | extra/json-c/checksums | 1 | ||||
-rw-r--r-- | extra/json-c/depends | 1 | ||||
-rw-r--r-- | extra/json-c/sources | 1 | ||||
-rw-r--r-- | extra/json-c/version | 1 |
5 files changed, 16 insertions, 0 deletions
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 |