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 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 extra/json-c/build (limited to 'extra/json-c/build') 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 -- cgit v1.2.3