eth0s/ports/core/squashfs-tools/Pkgfile
2022-04-09 08:19:46 +08:00

17 lines
598 B
Text
Executable file

# Description: Tools for squashfs, a highly compressed read-only filesystem for Linux
# URL:
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
# Depends on: zlib lzo xz lz4
name=squashfs-tools
version=4.5
release=1
source=(https://downloads.sourceforge.net/squashfs/squashfs$version.tar.gz
squashfs-tools-$version-symlink_install.patch)
build() {
cd $name-$version
patch -Np1 -i ../squashfs-tools-$version-symlink_install.patch
make -C $name XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1 ZSTD_SUPPORT=0
make -C $name install INSTALL_DIR="$PKG/usr/bin"
}