# Template file for 'squashfs-tools'
pkgname=squashfs-tools
version=3.4
wrksrc="squashfs${version}/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="Highly compressed read-only filesystem (tools)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=9ea1a9b3bd4f387ca11b5e96f00f8ae996fb81c4c7ad41f7c7f359917628a339
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 full glibc
Add_dependency full zlib

post_install()
{
	wrksrc=$XBPS_BUILDDIR/squashfs${version}
}
