void-packages/srcpkgs/zpaq/template

23 lines
598 B
Bash

# Template file for 'zpaq'
pkgname=zpaq
version=7.15
revision=2
create_wrksrc=yes
build_style=gnu-makefile
hostmakedepends="unzip perl"
short_desc="Incremental Journaling Backup Utility and Archiver"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Unlicense"
homepage="http://mattmahoney.net/dc/zpaq.html"
distfiles="http://mattmahoney.net/dc/zpaq${version//\./}.zip"
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
}