# Description: tools to create and extract Squashfs filesystems # URL: https://github.com/plougher/squashfs-tools # Maintainer: KRAK3N Team, extra ports at krak3n dot my # Depends on: lzo lz4 name=squashfs-tools version=4.7.2 release=1 source=(https://github.com/plougher/${name}/archive/${version}/${name}-${version}.tar.gz 0002-generate-manpages-Workaround-busybox-sed.patch) build() { cd ${name}-${version} patch -Np1 -i ../0002-generate-manpages-Workaround-busybox-sed.patch make ZSTD_SUPPORT=1 GZIP_SUPPORT=1 LZO_SUPPORT=1 XZ_SUPPORT=1 EXTRA_CFLAGS="-fcommon" -C $name make install INSTALL_PREFIX= INSTALL_DIR=$PKG/sbin INSTALL_MANPAGES_DIR=$PKG/usr/share/man/man1 -C $name }