[crux-commits] ports/opt (3.6): json-c: update to 1.11.0

crux at crux.nu crux at crux.nu
Tue Jul 28 13:42:18 UTC 2020


commit b8bbdb47a20aeb09f6629179a506ed798cb7c0d5
Author: Juergen Daubert <jue at jue.li>
Date:   Mon Jul 27 13:23:18 2020 +0200

    json-c: update to 1.11.0

diff --git a/json-c/.footprint b/json-c/.footprint
index 280d5eeaa..77b7ec472 100644
--- a/json-c/.footprint
+++ b/json-c/.footprint
@@ -2,7 +2,6 @@ drwxr-xr-x	root/root	usr/
 drwxr-xr-x	root/root	usr/include/
 drwxr-xr-x	root/root	usr/include/json-c/
 -rw-r--r--	root/root	usr/include/json-c/arraylist.h
--rw-r--r--	root/root	usr/include/json-c/config.h
 -rw-r--r--	root/root	usr/include/json-c/debug.h
 -rw-r--r--	root/root	usr/include/json-c/json.h
 -rw-r--r--	root/root	usr/include/json-c/json_c_version.h
@@ -25,7 +24,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.0.0
--rwxr-xr-x	root/root	usr/lib/libjson-c.so.5.0.0
+lrwxrwxrwx	root/root	usr/lib/libjson-c.so.5 -> libjson-c.so.5.1.0
+-rwxr-xr-x	root/root	usr/lib/libjson-c.so.5.1.0
 drwxr-xr-x	root/root	usr/lib/pkgconfig/
 -rw-r--r--	root/root	usr/lib/pkgconfig/json-c.pc
diff --git a/json-c/.signature b/json-c/.signature
index f4973a27f..17991548e 100644
--- a/json-c/.signature
+++ b/json-c/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/cZ27CYjKF6/ygPtDGrjvmiwnsZJjSXgy3vRMd87s8yLUaLDIvmUfKgflsWFu8t2NKnPhF3SXrZ/mIqXtERqHAA=
-SHA256 (Pkgfile) = 87576584493fee031db9998b2e0a3e060b53ebd760788ace1bef40099749cfd3
-SHA256 (.footprint) = b3572aea47e4e6234917ece55e991b2d400cad5e917c15f62796bd69aed2602c
-SHA256 (json-c-0.14.tar.gz) = b377de08c9b23ca3b37d9a9828107dff1de5ce208ff4ebb35005a794f30c6870
+RWSE3ohX2g5d/VVNhxG/o6ym4Q2cjw9O2x0GXwbCsAeaQeT/gpGmLA/xy6WHjEOc3iB0/3AMXPyAiWb9WV1eHmOQOyx6QPfg/gs=
+SHA256 (Pkgfile) = d4cb9acdcfa9f054a49a12c4550ef681180390adec4edc47bcf767bbd95e87bc
+SHA256 (.footprint) = fbeb5061184596a807a0355333b4b4ceb007a0cb5173ec7cabb2a5c527106754
+SHA256 (json-c-0.15.tar.gz) = b8d80a1ddb718b3ba7492916237bbf86609e9709fb007e7f7d4322f02341a4c6
diff --git a/json-c/Pkgfile b/json-c/Pkgfile
index 9e404ab0a..eba7db1af 100644
--- a/json-c/Pkgfile
+++ b/json-c/Pkgfile
@@ -4,24 +4,16 @@
 # Depends on:  cmake
 
 name=json-c
-version=0.14
+version=0.15
 release=1
 source=(https://s3.amazonaws.com/json-c_releases/releases/$name-$version.tar.gz)
 
 build() {
-    cd $name-$version
-
-    cmake . \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_INSTALL_LIBDIR=/usr/lib \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DBUILD_TESTING=OFF \
-        -DBUILD_SHARED_LIBS=ON
-    make
-    make DESTDIR=$PKG install
-
-    cmake . \
-        -DBUILD_SHARED_LIBS=OFF
-    make
-    make DESTDIR=$PKG install
+	cmake -S $name-$version -B build \
+		-D CMAKE_INSTALL_PREFIX=/usr \
+		-D CMAKE_INSTALL_LIBDIR=/usr/lib \
+		-D CMAKE_BUILD_TYPE=Release \
+		-D BUILD_TESTING=OFF
+	cmake --build build
+	DESTDIR=$PKG cmake --install build
 }


More information about the crux-commits mailing list