2020-06-11 21:34:51 +02:00
|
|
|
# Description: Tools to create and extract SquashFS filesystems
|
|
|
|
# URL: https://github.com/plougher/squashfs-tools
|
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
2019-07-30 18:04:00 +02:00
|
|
|
# Depends on: gzip lzo xz
|
|
|
|
|
2006-10-24 22:36:15 +02:00
|
|
|
name=squashfs-tools
|
2021-08-21 22:07:35 +02:00
|
|
|
version=4.5
|
2019-09-02 16:03:51 +02:00
|
|
|
release=1
|
2021-08-21 22:07:35 +02:00
|
|
|
source=(https://github.com/plougher/$name/archive/$version/$name-$version.tar.gz\
|
|
|
|
destdir.patch)
|
2006-10-24 22:36:15 +02:00
|
|
|
|
|
|
|
build() {
|
2020-06-11 21:34:51 +02:00
|
|
|
cd $name-$version/$name
|
2021-08-21 22:07:35 +02:00
|
|
|
patch -p2 -i $SRC/destdir.patch
|
2020-12-29 13:53:24 +01:00
|
|
|
make GZIP_SUPPORT=1 LZO_SUPPORT=1 XZ_SUPPORT=1 EXTRA_CFLAGS="-fcommon"
|
2021-08-21 22:07:35 +02:00
|
|
|
make install INSTALL_DIR=/sbin DESTDIR=$PKG
|
2006-10-24 22:36:15 +02:00
|
|
|
}
|