squashfs-tools: update to 4.5.

This commit is contained in:
Duncaen 2021-07-23 17:39:47 +02:00
parent 90243383a3
commit be0f88441b
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -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 <duncaen@voidlinux.org>"
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
}