mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
system/pigz: Updated for version 2.3, new maintainer.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
5d427a2bb4
commit
a83b56e78d
3 changed files with 25 additions and 6 deletions
12
system/pigz/math_fix.diff
Normal file
12
system/pigz/math_fix.diff
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -Naur a/Makefile b/Makefile
|
||||
--- a/Makefile 2013-03-04 00:06:35.000000000 -0600
|
||||
+++ b/Makefile 2013-06-18 08:56:58.111172954 -0500
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
|
||||
pigz: pigz.o yarn.o zopfli/deflate.o zopfli/blocksplitter.o zopfli/tree.o zopfli/lz77.o zopfli/cache.o zopfli/hash.o zopfli/util.o zopfli/squeeze.o zopfli/katajainen.o
|
||||
- $(CC) -o pigz $^ -lpthread -lz
|
||||
+ $(CC) -o pigz $^ -lpthread -lz -lm
|
||||
ln -f pigz unpigz
|
||||
|
||||
pigz.o: pigz.c yarn.h zopfli/deflate.h zopfli/util.h
|
|
@ -4,8 +4,12 @@
|
|||
|
||||
# Written by Max Miorim <miorimmax@gmail.com>
|
||||
|
||||
# Currently maintained by Patrick Verner <distrozilla@gmail.com> as of 6/29/2013
|
||||
# Changelog...
|
||||
# Patched to fix missing -lm flag in Makefile. math_fix.diff
|
||||
|
||||
PRGNAM=pigz
|
||||
VERSION=${VERSION:-2.2.5}
|
||||
VERSION=${VERSION:-2.3}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -53,6 +57,9 @@ find . \
|
|||
|
||||
sed -i "s/^CFLAGS=.*/CFLAGS=$SLKCFLAGS/g" Makefile
|
||||
|
||||
# Add missing -lm flag to Makefile
|
||||
patch -p1 < $CWD/math_fix.diff
|
||||
|
||||
make
|
||||
|
||||
install -D -m 0755 pigz $PKG/usr/bin/pigz
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="pigz"
|
||||
VERSION="2.2.5"
|
||||
VERSION="2.3"
|
||||
HOMEPAGE="http://www.zlib.net/pigz/"
|
||||
DOWNLOAD="http://www.zlib.net/pigz/pigz-2.2.5.tar.gz"
|
||||
MD5SUM="188f769ccedc403893d03049ad31e969"
|
||||
DOWNLOAD="http://www.zlib.net/pigz/pigz-2.3.tar.gz"
|
||||
MD5SUM="042e3322534f2c3d761736350cac303f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Diogo Leal"
|
||||
EMAIL="diogo@diogoleal.com"
|
||||
MAINTAINER="Patrick Verner"
|
||||
EMAIL="distrozilla@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue