void-packages/srcpkgs/zpaq/template

23 lines
591 B
Bash
Raw Normal View History

2015-01-21 23:12:39 +00:00
# template for 'zpaq'
pkgname=zpaq
2015-08-20 08:23:45 +00:00
version=7.05
2015-02-09 21:19:10 +00:00
revision=1
2015-01-21 23:12:39 +00:00
license="GPL-3"
short_desc="Incremental Journaling Backup Utility and Archiver"
build_style=gnu-makefile
2015-01-23 11:40:28 +00:00
hostmakedepends="unzip perl"
2015-01-21 23:12:39 +00:00
maintainer="necrophcodr <necrophcodr@necrophcodr.me>"
homepage="http://mattmahoney.net/dc/zpaq.html"
2015-08-20 08:23:45 +00:00
distfiles="http://mattmahoney.net/dc/zpaq${version//\./}.zip"
2015-01-21 23:12:39 +00:00
create_wrksrc=yes
2015-08-20 08:23:45 +00:00
checksum=d8abe3e3620d4c6f3ddc1da149acffa4c24296fd9c74c9d7b62319e308b63334
2015-01-21 23:12:39 +00:00
2015-01-22 15:18:26 +00:00
do_build() {
$CXX $CFLAGS -Dunix zpaq.cpp libzpaq.cpp -pthread -o zpaq
2015-01-23 11:40:28 +00:00
pod2man zpaq.pod > zpaq.1
2015-01-22 15:18:26 +00:00
}
2015-01-21 23:12:39 +00:00
do_install() {
vbin zpaq
2015-01-22 15:18:26 +00:00
vman zpaq.1
2015-01-21 23:12:39 +00:00
}