void-packages/srcpkgs/pixz/template

25 lines
569 B
Plaintext
Raw Normal View History

2013-12-02 09:34:46 +01:00
# Template file for 'pixz'
pkgname=pixz
version=1.0.2
revision=1
hostmakedepends="asciidoc git"
2013-12-02 09:34:46 +01:00
makedepends="liblzma-devel libarchive-devel"
short_desc="A parallel, indexing version of XZ"
maintainer="Juan RP <xtraeme@gmail.com>"
license="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() {
vinstall pixz 755 usr/bin
vinstall pixz.1 644 usr/share/man/man1
}