# template for 'zpaq'
pkgname=zpaq
version=7.15
revision=1
license="GPL-3"
short_desc="Incremental Journaling Backup Utility and Archiver"
build_style=gnu-makefile
hostmakedepends="unzip perl"
maintainer="Leah Neukirchen <leah@vuxu.org>"
homepage="http://mattmahoney.net/dc/zpaq.html"
distfiles="http://mattmahoney.net/dc/zpaq${version//\./}.zip"
create_wrksrc=yes
checksum=e85ec2529eb0ba22ceaeabd461e55357ef099b80f61c14f377b429ea3d49d418

do_build() {
	${CXX} ${CFLAGS} zpaq.cpp libzpaq.cpp -pthread -o zpaq ${LDFLAGS}
	pod2man zpaq.pod >zpaq.1
}
do_install() {
	vbin zpaq
	vman zpaq.1
}
