[crux-commits] ports/contrib (refs/remotes/origin/3.6): zziplib: 0.13.71 -> 0.13.72

crux at crux.nu crux at crux.nu
Sat Apr 10 19:06:05 UTC 2021


commit 1d068cc1b0dc2e530f4ac91a9101ad807cf6e558
Author: Tim Biermann <tbier at posteo.de>
Date:   Thu Jan 7 14:29:35 2021 +0000

    zziplib: 0.13.71 -> 0.13.72

diff --git a/zziplib/.signature b/zziplib/.signature
index 744763e5e..bf82a4880 100644
--- a/zziplib/.signature
+++ b/zziplib/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3zJY7VvqCEBkhkBLCKyniuWqBDnxA+/YHD9DougMEFWixNiZ9x0Wx7ummoE5aC5qt4I3RfCqvgVXJ50ADmo4RAE=
-SHA256 (Pkgfile) = fa8d6d858d0b4e1f4f79dcd9f64154751696510801ee594c5859dbebcfec7562
+RWSagIOpLGJF32+mz9g8V6w9W6xsnhCa7XKtFjyvlJiYuZ+eSRC1EQxw7oKxnS/M514h4/Obilf7bRciZ39mYXm+zF2XXjtJpQQ=
+SHA256 (Pkgfile) = 5045224442dc7d2dfbc97e1a3e35dc567a0654d656c176b5f013e4a72b38219a
 SHA256 (.footprint) = 34a8454214edf058caa654bfcd0879aabd9d3cff33c6dc93b6591d51cb2a4266
-SHA256 (zziplib-0.13.71.tar.gz) = 2ee1e0fbbb78ec7cc46bde5b62857bc51f8d665dd265577cf93584344b8b9de2
+SHA256 (zziplib-0.13.72.tar.gz) = 93ef44bf1f1ea24fc66080426a469df82fa631d13ca3b2e4abaeab89538518dc
diff --git a/zziplib/Pkgfile b/zziplib/Pkgfile
index 6b6827eae..c40cc43f8 100644
--- a/zziplib/Pkgfile
+++ b/zziplib/Pkgfile
@@ -1,29 +1,24 @@
 # Description: ZIP-access Library with Easy-to-use API
 # URL:         https://github.com/gdraheim/zziplib
 # Maintainer:  John Vogel, jvogel4 at stny dot rr dot com
-# Depends on:  zlib python
+# Depends on:  cmake python3 zlib
 
 name=zziplib
-version=0.13.71
+version=0.13.72
 release=1
 source=(https://github.com/gdraheim/$name/archive/v$version/$name-$version.tar.gz)
 
 build() {
-	cd $name-$version
+	[[ -e /usr/bin/ninja ]] && PKGMK_ZZIPLIB+=' -G Ninja'
 
-	# docs building currently broken for almost 1/6 or more of manpages
-	# TODO: troubleshoot and report upstream
-	sed -i -e 's,^\(SUBDIRS = .*\) docs\(.*\)$,\1\2,' \
-		-e 's,^\(DIST_SUBDIRS = .*\) docs\(.*\)$,\1\2,' Makefile.in
+	cmake -S $name-$version -B build $PKGMK_ZZIPLIB \
+		-D CMAKE_INSTALL_PREFIX=/usr \
+		-D CMAKE_INSTALL_LIBDIR=lib \
+		-D CMAKE_BUILD_TYPE=Release \
+		-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
+		-D ZZIPTEST=OFF \
+		-Wno-dev
 
-	mkdir build
-	cd build
-
-	CONFIG_SHELL=/bin/bash \
-	../configure \
-		--prefix=/usr \
-		--disable-static
-
-	make
-	make DESTDIR=$PKG install
+	cmake --build build
+	DESTDIR=$PKG cmake --install build
 }


More information about the crux-commits mailing list