pantry/projects/tukaani.org/xz/package.yml
2023-10-01 20:41:57 -04:00

48 lines
762 B
YAML

distributable:
url: https://tukaani.org/xz/xz-{{ version }}.tar.gz
strip-components: 1
versions:
url: https://tukaani.org/xz/
match: /xz-(\d+\.\d+(\.\d+)?)\.tar\.gz/
strip:
- /xz-/
- /.tar.gz/
build:
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix={{ prefix }}
- --disable-debug
- --disable-doc
test: xz --version
provides:
- bin/lzcat
- bin/lzcmp
- bin/lzdiff
- bin/lzegrep
- bin/lzfgrep
- bin/lzgrep
- bin/lzless
- bin/lzma
- bin/lzmadec
- bin/lzmainfo
- bin/lzmore
- bin/unlzma
- bin/unxz
- bin/xz
- bin/xzcat
- bin/xzcmp
- bin/xzdec
- bin/xzdiff
- bin/xzegrep
- bin/xzfgrep
- bin/xzgrep
- bin/xzless
- bin/xzmore