https://gitlab.com/i3slkiller/xzmbuild
Code: Select all
Usage: /mnt/vbox/xzmbuild/xzmbuild.sh [parameters] [path/to/XZMBUILD]
-h, --help show help
-s, --src path folder to save downloaded packages, sources
(default: the same as for XZMBUILD)
-t, --tmp path temporary folder (default: /tmp/xzmbuild)
-o, --out path XZM module folder output (default: /tmp)
-p, --spkg path folder for compiled packages (default: $pbtmpdir/spkg)
-b, --sb path temporary folder for SlackBuilds
(default: $pbtmpdir/slackbuild)
--skip-download don't download files
--skip-verify skip files verification
--no-pgp-verify disable PGP verification
--no-build don't build module
-g, --generate-checksums generates checksums of files to paste them
to XZMBUILD file and exits.
-c, --comp xz|zstd set compression algorithm for modules (default: xz)
-d, --ask-makedepends ask which makedepends module should be activated
if more than one match was found
(ignored if script started in non-interactive shell)
-x, --find-makedepends-before path
find makedepends modules before searching in PORTDIR
(can be used multiple times)
WARNING! Searching in folder with large number of files
may take long time.
-X, --find-makedepends-after path
find makedepends modules after searching in PORTDIR
(can be used multiple times)
WARNING! Searching in folder with large number of files
may take long time.
-n, --no-find-makedepends-portdir
don't search makedepends modules in $PORTDIR/modules
and $PORTDIR/optional
-v, --version show script version
I'm writing this script to replace messy PorteusBuild scripts and make maintaining own modules easier.
Docs for this will be written later. Docs written in Pandoc Markdown are available in "man" folder in repo (you need to have pandoc to generate man pages from them)
As of 05.10.2024 xzmbuild branch has merged to master, so search example files here https://gitlab.com/i3slkiller/porteusbuilds
old example files: https://gitlab.com/i3slkiller/porteusbu ... rteus/5.01
Expect breaking changes!
10.09.2024 - renamed from PRTBUILD [#8]
29.09.2024 - "almost" finished writing docs, a "few" more fixes are needed
04.10.2024 - added link to test versions
05.10.2024 - updated example files link