void-packages/srcpkgs/squashfs-tools/template

26 lines
732 B
Bash

# Template file for 'squashfs-tools'
pkgname=squashfs-tools
version=4.4
revision=2
wrksrc="squashfs${version}"
build_wrksrc="squashfs-tools"
build_style=gnu-makefile
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
}
do_install() {
vbin mksquashfs
vbin unsquashfs
}