# Template file for 'squashfs-tools'
pkgname=squashfs-tools
version=4.0
revision=1
wrksrc="squashfs${version}"
build_wrksrc=squashfs-tools
distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
build_style=gnu_makefile
make_install_args="INSTALL_DIR=$XBPS_DESTDIR/$pkgname-$version/usr/bin"
short_desc="Tool to create and append to squashfs filesystems"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=18948edbe06bac2c4307eea99bfb962643e4b82e5b7edd541b4d743748e12e21
long_desc="
 Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib
 compression to compress both files, inodes and directories. Inodes in the
 system are very small and all blocks are packed to minimise data overhead.
 Block sizes greater than 4K are supported up to a maximum of 64K.

 Squashfs is intended for general read-only filesystem use, for archival
 use (i.e. in cases where a .tar.gz file may be used), and in constrained
 block device/memory systems (e.g. embedded systems) where low overhead is
 needed."

Add_dependency run glibc
Add_dependency run zlib
Add_dependency build zlib-devel
