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
|
|
|
|
version=4.4
|
|
|
|
release=1
|
|
|
|
source=(https://downloads.sourceforge.net/squashfs/squashfs$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd squashfs${version}/${name}
|
|
|
|
make XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZ4_SUPPORT=1
|
|
|
|
install -Dm755 mksquashfs "$PKG"/usr/bin/mksquashfs
|
|
|
|
install -m755 unsquashfs "$PKG"/usr/bin/unsquashfs
|
|
|
|
}
|