1
0
Fork
You've already forked lzip-builder
0
This repository just bundles Lzip into a Git project. It provides a bang file to cross compile lzip for Linux, MacOS and Windows.
  • C++ 79.1%
  • C 17.9%
  • Makefile 2.2%
  • Lua 0.8%
Find a file
Christophe Delord 79e966e781 Zig 0.16.0
2026年05月14日 12:13:04 +02:00
lzip-1.26 lzip 1.26 2026年03月19日 22:45:45 +01:00
lziprecover-1.26 lziprecover 1.26 2026年02月16日 21:56:12 +01:00
lzlib-1.16 lzlib 1.16 2026年03月12日 21:32:17 +01:00
plzip-1.13 plzip 1.13 2026年03月15日 18:27:17 +01:00
tarlz-0.29 tarlz 0.29 2026年01月07日 00:13:28 +01:00
.gitignore Release r1 2024年12月21日 10:33:10 +01:00
build.lua Zig 0.16.0 2026年05月14日 12:13:04 +02:00
build.ninja Zig 0.16.0 2026年05月14日 12:13:04 +02:00
LICENSE Release r1 2024年12月21日 10:33:10 +01:00
README.md migrate to Codeberg 2025年04月05日 16:33:33 +02:00

Lzip builder

This repository just bundles Lzip into a Git project. It provides a bang file to cross compile lzip for Linux, MacOS and Windows.

Usage

$ bang

This generates the Ninja file for your platform (the provided Ninja file was generated for Linux).

$ ninja help
Distribution of lzip binaries for Linux, MacOS and Windows.
This Ninja build file will compile and install:
- lzip (Linux, MacOS and Windows)
- plzip (Linux and MacOS)
- tarlz (Linux and MacOS)
- lziprecovery (Linux and MacOS)
Targets:
 help show this help message
 compile Build Lzip binaries for the host only
 all Build Lzip archives for Linux, MacOS and Windows
 install install lzip in PREFIX or ~/.local
 clean clean generated files

Installation of Lzip

To install Lzip in ~/.local/bin:

$ ninja install

Or in a custom directory (e.g. /path/bin):

$ PREFIX=/path/ ninja install

Cross compilation of Lzip

You'll need Zig.

$ ninja all

Archives for all supported platforms are created in .build.