# Description: SquashFS tools # URL: http://squashfs.sourceforge.net/ # Maintainer: Matt Housh, jaeger at morpheus dot net # Depends on: gzip lzo xz name=squashfs-tools version=4.3 release=2 source=(http://download.sourceforge.net/squashfs/squashfs${version}.tar.gz) build() { cd squashfs${version}/$name sed -i -e '/^#include /a #include ' \ {mk,un}squashfs.c make GZIP_SUPPORT=1 LZO_SUPPORT=1 XZ_SUPPORT=1 make install INSTALL_DIR=$PKG/sbin }