json-c: update to 0.17

This commit is contained in:
Juergen Daubert 2023-08-14 09:51:00 +02:00
parent 1519c084f8
commit d6a1b2df69
3 changed files with 10 additions and 10 deletions

View File

@ -9,6 +9,7 @@ drwxr-xr-x root/root usr/include/json-c/
-rw-r--r-- root/root usr/include/json-c/json_inttypes.h
-rw-r--r-- root/root usr/include/json-c/json_object.h
-rw-r--r-- root/root usr/include/json-c/json_object_iterator.h
-rw-r--r-- root/root usr/include/json-c/json_patch.h
-rw-r--r-- root/root usr/include/json-c/json_pointer.h
-rw-r--r-- root/root usr/include/json-c/json_tokener.h
-rw-r--r-- root/root usr/include/json-c/json_types.h
@ -24,7 +25,7 @@ drwxr-xr-x root/root usr/lib/cmake/json-c/
-rw-r--r-- root/root usr/lib/cmake/json-c/json-c-targets.cmake
-rw-r--r-- root/root usr/lib/libjson-c.a
lrwxrwxrwx root/root usr/lib/libjson-c.so -> libjson-c.so.5
lrwxrwxrwx root/root usr/lib/libjson-c.so.5 -> libjson-c.so.5.2.0
-rwxr-xr-x root/root usr/lib/libjson-c.so.5.2.0
lrwxrwxrwx root/root usr/lib/libjson-c.so.5 -> libjson-c.so.5.3.0
-rwxr-xr-x root/root usr/lib/libjson-c.so.5.3.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/json-c.pc

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/bA9Cyb5eyjmJMf9vvVxibKQlZFhHSiwPI6MorieDxZgRN841hOkQFiLESk9ARmSGff8yLcOxAbz23NPW5uZIgY=
SHA256 (Pkgfile) = 0e947599f067552a9472210f15b2825c2b8b86c451b44d489c71a31cd09c7422
SHA256 (.footprint) = aee10e47f0950bef8cdded381e56622b5909f59170363cb7afd154a2a2152019
SHA256 (json-c-0.16.tar.gz) = 8e45ac8f96ec7791eaf3bb7ee50e9c2100bbbc87b8d0f1d030c5ba8a0288d96b
RWSE3ohX2g5d/Vg8u1Bu3Ot5vtSdXS4eMpcHFY64E8K6Aw4eSwJ0xxCzX7t0cbMqhxs6fzkQOrZxNd8ehM9pXG0IgeSpZxlySgw=
SHA256 (Pkgfile) = 8441c3690e73dc154d6d222afe759fcd18245185bed77c881e68b8e0c7ca97b9
SHA256 (.footprint) = 72e975bb2c4b6812c513f89dc9044bfc7f177a7e2c3ca5c4cfc6df51ce9d0a81
SHA256 (json-c-0.17.tar.gz) = 7550914d58fb63b2c3546f3ccfbe11f1c094147bd31a69dcd23714d7956159e6

View File

@ -1,20 +1,19 @@
# Description: JSON implementation in C
# URL: https://github.com/json-c/json-c/wiki
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: cmake
name=json-c
version=0.16
version=0.17
release=1
source=(https://s3.amazonaws.com/json-c_releases/releases/$name-$version.tar.gz)
build() {
cmake -S $name-$version -B build \
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=/usr/lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D BUILD_TESTING=OFF
cmake --build build
cmake --build build -j ${JOBS:-1}
DESTDIR=$PKG cmake --install build
}