# Description: SquashFS tools
# URL: http://squashfs.sourceforge.net/
# Maintainer: Matt Housh, jaeger at morpheus dot net
# Depends on: xz
 
name=squashfs-tools
version=4.3
release=1
source=(http://download.sourceforge.net/squashfs/squashfs${version}.tar.gz)

build() {
	cd squashfs${version}/$name
	sed -i -e 's/^#\(XZ_SUPPORT = 1\)/\1/' Makefile
	make
	install -D -m 0755 mksquashfs ${PKG}/sbin/mksquashfs
	install -D -m 0755 unsquashfs ${PKG}/sbin/unsquashfs
}
