summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2020-07-27 13:23:18 +0200
committerJuergen Daubert <jue@jue.li>2020-07-27 13:23:18 +0200
commitb8bbdb47a20aeb09f6629179a506ed798cb7c0d5 (patch)
treed9cc335acdbd2bcf63ec0ea0bfab1f31c90d597f
parent9d70f617b7a22592841733cec2b6b14a783c1a64 (diff)
downloadopt-b8bbdb47a20aeb09f6629179a506ed798cb7c0d5.tar.gz
opt-b8bbdb47a20aeb09f6629179a506ed798cb7c0d5.tar.xz
json-c: update to 1.11.0
-rw-r--r--json-c/.footprint5
-rw-r--r--json-c/.signature8
-rw-r--r--json-c/Pkgfile24
3 files changed, 14 insertions, 23 deletions
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
}

Generated by cgit