# Description: Tools to create and extract SquashFS filesystems # URL: https://github.com/plougher/squashfs-tools # Maintainer: Matt Housh, jaeger at crux dot ninja # Depends on: gzip lzo xz name=squashfs-tools version=4.5 release=1 source=(https://github.com/plougher/$name/archive/$version/$name-$version.tar.gz\ destdir.patch) build() { cd $name-$version/$name patch -p2 -i $SRC/destdir.patch make GZIP_SUPPORT=1 LZO_SUPPORT=1 XZ_SUPPORT=1 EXTRA_CFLAGS="-fcommon" make install INSTALL_DIR=/sbin DESTDIR=$PKG }