void-packages/srcpkgs/squashfs-tools/template

24 lines
897 B
Bash

# Template file for 'squashfs-tools'
pkgname=squashfs-tools
version=4.5.1
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"
short_desc="Tool to create and append to squashfs filesystems"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/plougher/squashfs-tools"
changelog="https://github.com/plougher/squashfs-tools/raw/master/CHANGES"
distfiles="https://github.com/plougher/squashfs-tools/archive/refs/tags/${version}.tar.gz"
checksum=277b6e7f75a4a57f72191295ae62766a10d627a4f5e5f19eadfbc861378deea7
do_install() {
vbin mksquashfs
vbin unsquashfs
ln -sf mksquashfs ${DESTDIR}/usr/bin/sqfstar
ln -sf unsquashfs ${DESTDIR}/usr/bin/sqfscat
}