summaryrefslogtreecommitdiff
path: root/system/pigz
diff options
context:
space:
mode:
authorPatrick Verner <distrozilla@gmail.com>2013-07-01 09:06:18 -0500
committerErik Hanson <erik@slackbuilds.org>2013-07-01 09:06:18 -0500
commita83b56e78d76f175f82d183940596023cee2e3b8 (patch)
tree2c24c85c621736ef6d2cf4401e85c5d161633e81 /system/pigz
parent5d427a2bb433b96989ddbe0a4089155caa53da5c (diff)
downloadslackbuilds-a83b56e78d76f175f82d183940596023cee2e3b8.tar.gz
system/pigz: Updated for version 2.3, new maintainer.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/pigz')
-rw-r--r--system/pigz/math_fix.diff12
-rw-r--r--system/pigz/pigz.SlackBuild9
-rw-r--r--system/pigz/pigz.info10
3 files changed, 25 insertions, 6 deletions
diff --git a/system/pigz/math_fix.diff b/system/pigz/math_fix.diff
new file mode 100644
index 0000000000..7123175132
--- /dev/null
+++ b/system/pigz/math_fix.diff
@@ -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
diff --git a/system/pigz/pigz.SlackBuild b/system/pigz/pigz.SlackBuild
index 175df51d65..fe5defe403 100644
--- a/system/pigz/pigz.SlackBuild
+++ b/system/pigz/pigz.SlackBuild
@@ -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
diff --git a/system/pigz/pigz.info b/system/pigz/pigz.info
index d038cf1f53..fc8cef7f82 100644
--- a/system/pigz/pigz.info
+++ b/system/pigz/pigz.info
@@ -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"