mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+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>
This commit is contained in:
parent
00ba83e738
commit
af339abc23
1 changed files with 47 additions and 0 deletions
47
projects/github.com/AgentD/squashfs-tools-ng/package.yml
Normal file
47
projects/github.com/AgentD/squashfs-tools-ng/package.yml
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
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}}
|
Loading…
Reference in a new issue