From af339abc234e1298fb31d9409cdba0eb610fbbad Mon Sep 17 00:00:00 2001 From: tannevaled Date: Wed, 17 Jan 2024 23:36:30 +0100 Subject: [PATCH] +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 --- .../AgentD/squashfs-tools-ng/package.yml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 projects/github.com/AgentD/squashfs-tools-ng/package.yml diff --git a/projects/github.com/AgentD/squashfs-tools-ng/package.yml b/projects/github.com/AgentD/squashfs-tools-ng/package.yml new file mode 100644 index 00000000..091e460b --- /dev/null +++ b/projects/github.com/AgentD/squashfs-tools-ng/package.yml @@ -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}}