1SUMMARY="Incremental journaling archiver with powerful compression"
2DESCRIPTION="zpaq is a free and open source incremental, \
3journaling command-line archiver. Among its features include \
4up to four billion files and 250 terabytes of data before compression,\
5encrypted archives via AES, multi-part/split archives,\
6and powerful compression through multiple methods.\
7\
8zpaq is only intended for user-level backups. It should not be used to \
9archive the operating system, as it does not follow links or save special \
10files such as devices, sockets, or pipes."
11HOMEPAGE="http://mattmahoney.net/dc/zpaq.html"
12COPYRIGHT="2009-2016 Matt Mahoney"
13LICENSE="Public Domain
14	zpaq"
15REVISION="1"
16SOURCE_URI="http://mattmahoney.net/dc/zpaq715.zip"
17CHECKSUM_SHA256="e85ec2529eb0ba22ceaeabd461e55357ef099b80f61c14f377b429ea3d49d418"
18SOURCE_DIR=""
19
20ARCHITECTURES="all !x86_gcc2"
21SECONDARY_ARCHITECTURES="x86"
22
23PROVIDES="
24	zpaq$secondaryArchSuffix = $portVersion
25	cmd:zpaq$secondaryArchSuffix = $portVersion
26	"
27REQUIRES="
28	haiku$secondaryArchSuffix
29	"
30
31BUILD_REQUIRES="
32	haiku${secondaryArchSuffix}_devel
33	"
34BUILD_PREREQUIRES="
35	cmd:cmp
36	cmd:g++$secondaryArchSuffix
37	cmd:make
38	cmd:pod2man
39	cmd:unzip
40	"
41
42PATCH()
43{
44	sed -i "s/-pthread/-lpthread/g" Makefile
45}
46
47BUILD()
48{
49	make CXX=g++ $jobArgs
50}
51
52INSTALL()
53{
54	make BINDIR=$binDir MANDIR=$manDir install
55}
56
57TEST()
58{
59	make check
60}
61