feat(install): generate ZIP and Debian packages
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 5s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 14s

This commit is contained in:
faumaray committed 2026-12-05 05:09:53 +03:00
1 parent a808596462
commit 9509c0691e
8 files changed
+345 -14

No files matched your search

+6 -4
View File
@@ -21,11 +21,13 @@ struct InstallOptions {
bool export_native_metadata{true};
// Copies runtime shared libraries of installed targets into <prefix>/lib.
bool bundle_runtime_dependencies{false};
// Optional deterministic tar archive of the installed prefix (self-contained installer).
// Optional deterministic archive of the installed prefix (self-contained installer).
std::optional<std::filesystem::path> archive_path;
// When true, archive_path receives an executable POSIX self-extracting installer script
// (tar payload appended) instead of a bare tar. Accepts [--prefix DIR] or $PREFIX.
bool archive_as_script{false};
// Archive format: "tar" (default), "sh" (self-extracting script with tar payload),
// "zip" (stored, no compression) or "deb" (ar container with control.tar + data.tar).
std::string archive_format{"tar"};
std::string package_description; // Used by package metadata (deb).
std::string maintainer; // Used by package metadata (deb).
};
struct InstallReport {