2019-10-10 17:43:15 +08:00
|
|
|
# Description: Tools for squashfs, a highly compressed read-only filesystem for Linux
|
|
|
|
# URL:
|
2019-11-10 23:58:56 +08:00
|
|
|
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
|
2019-10-10 17:43:15 +08:00
|
|
|
# Depends on: zlib lzo xz lz4
|
|
|
|
|
|
|
|
name=squashfs-tools
|
2022-04-09 08:19:46 +08:00
|
|
|
version=4.5
|
2019-10-10 17:43:15 +08:00
|
|
|
release=1
|
2020-11-13 13:58:01 +08:00
|
|
|
source=(https://downloads.sourceforge.net/squashfs/squashfs$version.tar.gz
|
2022-04-09 08:19:46 +08:00
|
|
|
squashfs-tools-$version-symlink_install.patch)
|
2019-10-10 17:43:15 +08:00
|
|
|
|
|
|
|
build() {
|
2022-04-09 08:19:46 +08:00
|
|
|
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"
|
2019-10-10 17:43:15 +08:00
|
|
|
}
|