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%
|
|
||
|---|---|---|
| lzip-1.26 | lzip 1.26 | |
| lziprecover-1.26 | lziprecover 1.26 | |
| lzlib-1.16 | lzlib 1.16 | |
| plzip-1.13 | plzip 1.13 | |
| tarlz-0.29 | tarlz 0.29 | |
| .gitignore | Release r1 | |
| build.lua | Zig 0.16.0 | |
| build.ninja | Zig 0.16.0 | |
| LICENSE | Release r1 | |
| README.md | migrate to Codeberg | |
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.