From 5ebcea3037f71100c8db6268f2f2553740bc9b31 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 2 Dec 2013 09:34:46 +0100 Subject: [PATCH] New package: pixz-1.0.2. --- srcpkgs/pixz/template | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 srcpkgs/pixz/template diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template new file mode 100644 index 0000000000..f3fe74c745 --- /dev/null +++ b/srcpkgs/pixz/template @@ -0,0 +1,30 @@ +# Template file for 'pixz' +pkgname=pixz +version=1.0.2 +revision=1 +hostmakedepends="asciidoc" +makedepends="liblzma-devel libarchive-devel" +short_desc="A parallel, indexing version of XZ" +maintainer="Juan RP " +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 +} + +pixz_package() { + pkg_install() { + vmove all + } +}