90.8. zip-3.0
Info-ZIP archive creation utilities
3.0-1 · Info-ZIP · 0.1 SBU · 658.5 KiB, 9 files · 41_system, 63 of 1047 · ports/core/archiver/zip
Homepage: https://infozip.sourceforge.net/Zip.html
Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/archiver.txt:
unzip has been a port since the beginning and zip had not, so this system could open an archive it could not make.
Depends on: bzip2.
Required by (7): ark, ebook-tools, lagrange, libreoffice, openjdk, thunderbird, warzone2100.
Sources: zip-3.0.tar.gz (1.1 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install zip'
build.sh:
ZIP_CC="${CC:-cc} -Wno-implicit-function-declaration"
make -f unix/Makefile flags CC="$ZIP_CC" LOCAL_ZIP="$CFLAGS"
grep -q -- -DBZIP2_SUPPORT flags || {
echo "zip: bzip2 probe failed — flags lack -DBZIP2_SUPPORT" >&2
exit 1
}
make -f unix/Makefile generic CC="$ZIP_CC" BIND="$ZIP_CC $LDFLAGS" LOCAL_ZIP="$CFLAGS"
make -f unix/Makefile prefix=$PKG/usr MANDIR=$PKG/usr/share/man/man1 install
Programs: zip, zipcloak, zipnote, zipsplit.
Directories: /usr/share/licenses/zip.