# Template file for 'lrzip'
pkgname=lrzip
version=0.660
revision=1
build_style="gnu-configure"
hostmakedepends="perl automake libtool"
makedepends="zlib-devel bzip2-devel lzo-devel liblz4-devel"
short_desc="Multi-threaded compression using rzip/lzma, lzo, and zpaq"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://lrzip.kolivas.org/"
distfiles="https://github.com/ckolivas/lrzip/archive/v${version}.tar.gz"
checksum=fd2cb18fc166e565a23f3415306d71a0f9151e0f1d7016d9a2c7eb038cd3c159

case "$XBPS_TARGET_MACHINE" in
	i686*|x86_64*) hostmakedepends+=" nasm";;
esac

pre_configure() {
	NOCONFIGURE=1 ./autogen.sh
}
