UmVirt LFS Package info

DB commit: 87572d7cf5c2e4fc6a7d33abc05341175a2c925a
APP commit: e905d50832f25d6e1ea1c062c557c2674e1072f0
[ BASH | XML | JSON ]

json-c

The 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.

Package info

Template:
Codename: json-c
Source file: json-c-0.18.tar.gz
Source file size: 401788
Source file MD5-checkum: e6593766de7d8aa6e3a7e67ebf1e522f
Source directory: json-c-0.18
Package URL: https://umvirt.com/linux/downloads/0.2.4/packages/j/json-c-0.18.tar.gz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.4/packages/j/json-c-0.18.tar.gz.md5sum
Dependances: cmake, doxygen.
Dependance of: fontconfig, libnvme, multipath-tools, cryptsetup, libmypaint, bind-utils, xcb-imdkit, bind, freerdp, freerdp2.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
sed -i 's/VERSION 2.8/VERSION 4.0/' apps/CMakeLists.txt  &&
sed -i 's/VERSION 3.9/VERSION 4.0/' tests/CMakeLists.txt

mkdir build &&
cd    build &&

ARG_STATIC="-DBUILD_STATIC_LIBS=OFF"
if [[ "$ULFS_PKG_STATIC" == "YES" ]]
then
    ARG_STATIC="-DBUILD_STATIC_LIBS=ON"
fi

cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release \
      $ARG_STATIC   \
      ..

Build script:
cd    build &&
make
if [[ "$ULFS_PKG_TEST" == "YES" ]]
then
	    make test
fi

Install script:
cd    build &&
make install

Arch specific instructions

lib32_amd64

Dependances: *** NO DEPENDANCES FOUND ***
Configuration script:
mkdir build &&
cd    build &&

ARG_STATIC="-DBUILD_STATIC_LIBS=OFF"
if [[ "\$ULFS_PKG_STATIC" == "YES" ]]
then
    ARG_STATIC="-DBUILD_STATIC_LIBS=ON"
fi


export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"

cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_BUILD_TYPE=Release \
      -DCMAKE_INSTALL_PREFIX=/usr       \
      -DCMAKE_INSTALL_LIBDIR=/usr/lib32 \
      \$ARG_STATIC   \
      ..

Build script:
cd    build &&
make
if [[ "\$ULFS_PKG_TEST" == "YES" ]]
then
	    make test
fi

Install script:
cd    build

make DESTDIR=\$PWD/DESTDIR install

cp -Rv DESTDIR/usr/lib32/* /usr/lib32