mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 20:45:09 +03:00
48 lines
1 KiB
YAML
48 lines
1 KiB
YAML
|
distributable:
|
||
|
url: https://codeload.github.com/AgentD/squashfs-tools-ng/tar.gz/refs/tags/v{{version}}
|
||
|
strip-components: 1
|
||
|
|
||
|
display-name: squashfs-tools-ng
|
||
|
|
||
|
versions:
|
||
|
github: AgentD/squashfs-tools-ng/tags
|
||
|
strip: /^v/
|
||
|
|
||
|
dependencies:
|
||
|
zlib.net: ^1
|
||
|
tukaani.org/xz: ^5
|
||
|
lz4.org: ^1
|
||
|
facebook.com/zstd: ^1
|
||
|
oberhumer.com/lzo: ^2
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
freedesktop.org/pkg-config: '*'
|
||
|
gnu.org/coreutils: '*'
|
||
|
gnu.org/libtool: '*'
|
||
|
gnu.org/automake: '*'
|
||
|
gnu.org/autoconf: '*'
|
||
|
gnu.org/gawk: '*'
|
||
|
gnu.org/gcc: '*'
|
||
|
cmake.org: ^3
|
||
|
script:
|
||
|
- autoreconf --force --install --symlink
|
||
|
- ./configure $ARGS
|
||
|
- make --jobs {{ hw.concurrency }} install
|
||
|
env:
|
||
|
ARGS:
|
||
|
- --prefix="{{prefix}}"
|
||
|
darwin:
|
||
|
# FIXME: binutils ar/ranlib are broken on macOS?
|
||
|
AR: /usr/bin/ar
|
||
|
RANLIB: /usr/bin/ranlib
|
||
|
|
||
|
provides:
|
||
|
- bin/gensquashfs
|
||
|
- bin/rdsquashfs
|
||
|
- bin/sqfs2tar
|
||
|
- bin/tar2sqfs
|
||
|
- bin/sqfsdiff
|
||
|
|
||
|
test: test "$(gensquashfs --version|head -1 |cut -d' ' -f 3)" = {{version}}
|