before index-conflict changes

This commit is contained in:
2025-11-18 19:46:36 +03:00
parent 28ba2135ec
commit 30540602bd
66 changed files with 1403 additions and 879 deletions

23
assets/var/gnu/7z.md Normal file
View File

@ -0,0 +1,23 @@
7z 25.01
=
https://github.com/ip7z/7zip/archive/refs/tags/25.01.tar.gz
``` sh *** build ***
cd CPP/7zip/Bundles/Alone2
make -f makefile.gcc
mkdir -p /pkg/gnu/7z/bin
cp _o/7zz /pkg/gnu/7z/bin/
ln /pkg/gnu/7z/bin/7zz /pkg/gnu/7z/bin/7z
```
``` sh *** config ***
cat > /pkg/gnu/7z/bin/unzip <<'EOF'
#!/bin/bash
if [ "$1" = "-n" ]; then
shift
fi
7z x -y "$@" >/dev/null 2>&1
[ $? -le 1 ] && exit 0 || exit 1
EOF
chmod +x /pkg/gnu/7z/bin/unzip
```