pantry/projects/github.com/AgentD/squashfs-tools-ng/package.yml
tannevaled af339abc23
+github.com/AgentD/squashfs-tools-ng (#4883)
* update

* does not compile on darwin

* try to compile on darwin

* clean up and lock version majors

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
2024-01-17 17:36:30 -05:00

47 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}}