UmVirt LFS Package info

DB commit: f64c98382982c764c3ba140bfcbbc73d93096acd
APP commit: e09dc78145b10de9481608254eb2ac99efd0068b
[ 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.3/packages/j/json-c-0.18.tar.gz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.3/packages/j/json-c-0.18.tar.gz.md5sum
Dependances: cmake, doxygen.
Dependance of: fontconfig, libnvme, multipath-tools, cryptsetup, libmypaint, bind-utils, bind, freerdp, freerdp2.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS 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

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