# template for 'zpaq'
pkgname=zpaq
version=7.02
revision=1
license="GPL-3"
short_desc="Incremental Journaling Backup Utility and Archiver"
build_style=gnu-makefile
hostmakedepends="unzip perl"
maintainer="necrophcodr <necrophcodr@necrophcodr.me>"
homepage="http://mattmahoney.net/dc/zpaq.html"
distfiles="http://mattmahoney.net/dc/zpaq702.zip"
create_wrksrc=yes
checksum=c787b06064c491b00ff11cdc01fea2e9fb64433ef3f796cef71bda655ffad77a

do_build() {
	$CXX $CFLAGS -Dunix zpaq.cpp libzpaq.cpp -pthread -o zpaq
	pod2man zpaq.pod > zpaq.1
}

do_install() {
	vbin zpaq
	vman zpaq.1
}
