pantry/projects/github.com/AgentD/squashfs-tools-ng/package.yml

40 lines
839 B
YAML
Raw Normal View History

distributable:
2024-01-31 17:40:26 +03:00
url: https://infraroot.at/pub/squashfs/squashfs-tools-ng-{{version}}.tar.xz
strip-components: 1
display-name: squashfs-tools-ng
versions:
2024-01-31 17:40:26 +03:00
url: https://infraroot.at/pub/squashfs/
match: /squashfs-tools-ng-\d+\.\d+(\.\d+)?\.tar\.gz/
strip:
- /^squashfs-tools-ng-/
- /.tar.gz$/
dependencies:
zlib.net: ^1
tukaani.org/xz: ^5
lz4.org: ^1
facebook.com/zstd: ^1
oberhumer.com/lzo: ^2
build:
dependencies:
gnu.org/coreutils: '*'
gnu.org/libtool: '*'
gnu.org/gawk: '*'
gnu.org/gcc: '*'
cmake.org: ^3
script:
2024-01-31 17:40:26 +03:00
- ./configure --prefix="{{prefix}}"
- make --jobs {{ hw.concurrency }} install V=1
provides:
- bin/gensquashfs
- bin/rdsquashfs
- bin/sqfs2tar
- bin/tar2sqfs
- bin/sqfsdiff
test: test "$(gensquashfs --version|head -1 |cut -d' ' -f 3)" = {{version}}