From be0f88441ba31fd42913f4bcea87e43405609a50 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Fri, 23 Jul 2021 17:39:47 +0200 Subject: [PATCH] squashfs-tools: update to 4.5. --- srcpkgs/squashfs-tools/template | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template index d49d6c5602a..35022327c73 100644 --- a/srcpkgs/squashfs-tools/template +++ b/srcpkgs/squashfs-tools/template @@ -1,25 +1,22 @@ # Template file for 'squashfs-tools' pkgname=squashfs-tools -version=4.4 -revision=2 -wrksrc="squashfs${version}" +version=4.5 +revision=1 build_wrksrc="squashfs-tools" build_style=gnu-makefile +make_use_env=yes +make_build_args="XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1 ZSTD_SUPPORT=1" makedepends="zlib-devel lzo-devel liblzma-devel liblz4-devel libzstd-devel" -license="GPL-2.0-or-later" -homepage="http://squashfs.sf.net/" short_desc="Tool to create and append to squashfs filesystems" maintainer="Duncaen " -distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz" -checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e - -CFLAGS="-fcommon" - -do_build() { - make ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1 ZSTD_SUPPORT=1 -} +license="GPL-2.0-or-later" +homepage="https://github.com/plougher/squashfs-tools" +distfiles="https://github.com/plougher/squashfs-tools/archive/refs/tags/${version}.tar.gz" +checksum=b9e16188e6dc1857fe312633920f7d71cc36b0162eb50f3ecb1f0040f02edddd do_install() { vbin mksquashfs vbin unsquashfs + ln -sf mkshquashfs ${DESTDIR}/usr/bin/sqfstar + ln -sf unshquashfs ${DESTDIR}/usr/bin/sqfscat }