void-packages/srcpkgs/pixz/template
2014-11-23 09:32:55 +01:00

22 lines
533 B
Bash

# Template file for 'pixz'
pkgname=pixz
version=1.0.2
revision=2
hostmakedepends="asciidoc git"
makedepends="liblzma-devel libarchive-devel"
short_desc="A parallel, indexing version of XZ"
maintainer="Juan RP <xtraeme@gmail.com>"
license="2-clause-BSD"
homepage="https://github.com/vasi/pixz"
do_fetch() {
git clone -b v${version} git://github.com/vasi/pixz pixz-${version}
}
do_build() {
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="-lm $LDFLAGS" ${makejobs}
a2x -f manpage pixz.1.asciidoc
}
do_install() {
vbin pixz
vman pixz.1
}