From 9ab087c347e98c6d0ce253ef7cde8d8d9623eee4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 8 Sep 2015 09:37:18 +0200 Subject: [PATCH] pixz: unbreak build and set build_pie. --- srcpkgs/pixz/template | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/srcpkgs/pixz/template b/srcpkgs/pixz/template index 4159f65c3bd..6bbfa78b313 100644 --- a/srcpkgs/pixz/template +++ b/srcpkgs/pixz/template @@ -2,7 +2,9 @@ pkgname=pixz version=1.0.3 revision=1 -hostmakedepends="asciidoc git" +build_pie=yes +build_style=gnu-configure +hostmakedepends="automake libtool pkg-config asciidoc" makedepends="liblzma-devel libarchive-devel" short_desc="A parallel, indexing version of XZ" maintainer="Juan RP " @@ -11,11 +13,6 @@ homepage="https://github.com/vasi/pixz" distfiles="https://github.com/vasi/pixz/archive/v$version.tar.gz" checksum=49f44520b411315ec4b02891eb77ba6060bdfd77ab5112e9c3e21de581c3384d -do_build() { - make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="-lm $LDFLAGS" ${makejobs} - a2x -f manpage pixz.1.asciidoc -} -do_install() { - vbin pixz - vman pixz.1 +pre_configure() { + NOCONFIGURE=1 ./autogen.sh }