Commit 5efce93d authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

json-c now uses cmake for build

parent 234878d1
all:
tar xf json-c-0.14-20200419.tar.gz
cd json-c-json-c-0.14-20200419 && autoreconf -i
cd json-c-json-c-0.14-20200419 && ./configure --prefix=/usr
$(MAKE) -C json-c-json-c-0.14-20200419
$(MAKE) -C json-c-json-c-0.14-20200419 check
$(MAKE) -C json-c-json-c-0.14-20200419 install
mkdir json-c-json-c-0.14-20200419/build
cd json-c-json-c-0.14-20200419/build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DDISABLE_WERROR=ON ..
$(MAKE) -C json-c-json-c-0.14-20200419/build
$(MAKE) -C json-c-json-c-0.14-20200419/build test
$(MAKE) -C json-c-json-c-0.14-20200419/build install
ln -sf /usr/include/json-c /usr/include/json
rm -rf json-c-json-c-0.14-20200419
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