aboutsummaryrefslogtreecommitdiff
path: root/graphics/pngquant
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2013-10-27 17:37:09 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-10-27 23:39:05 -0500
commit6b806601a29c24bd3075bc7757e08ae155ce825b (patch)
treeddd9aae942413e7af88e297b75a0ceb737c26dc7 /graphics/pngquant
parent659508cf9772adb654f2dc1ed7234ffbfee45ecd (diff)
graphics/pngquant: Updated for version 2.0.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/pngquant')
-rw-r--r--graphics/pngquant/pngquant.SlackBuild7
-rw-r--r--graphics/pngquant/pngquant.info6
2 files changed, 9 insertions, 4 deletions
diff --git a/graphics/pngquant/pngquant.SlackBuild b/graphics/pngquant/pngquant.SlackBuild
index 77dd0529f944..18743cbe41d1 100644
--- a/graphics/pngquant/pngquant.SlackBuild
+++ b/graphics/pngquant/pngquant.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pngquant
-VERSION=${VERSION:-1.8.3}
+VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,8 +67,13 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
+# Remove unnecessary '-' in Makefiles.
+sed -i 's/-\$(MAKEFLAGS)/\$(MAKEFLAGS)/g' Makefile lib/Makefile
+
make CFLAGSADD="$SLKCFLAGS"
install -D -m0755 -s pngquant $PKG/usr/bin/pngquant
+install -D -m0644 lib/libimagequant.a $PKG/usr/lib${LIBDIRSUFFIX}/libimagequant.a
+install -D -m0644 lib/libimagequant.h $PKG/usr/include/libimagequant.h
install -D -m0644 pngquant.1 $PKG/usr/man/man1/pngquant.1
find $PKG/usr/man -type f -exec gzip -9 {} \;
diff --git a/graphics/pngquant/pngquant.info b/graphics/pngquant/pngquant.info
index 6720d22682bf..1965de53ce6b 100644
--- a/graphics/pngquant/pngquant.info
+++ b/graphics/pngquant/pngquant.info
@@ -1,8 +1,8 @@
PRGNAM="pngquant"
-VERSION="1.8.3"
+VERSION="2.0.0"
HOMEPAGE="http://pngquant.org/"
-DOWNLOAD="http://pngquant.org/pngquant-1.8.3-src.tar.bz2"
-MD5SUM="d1015f115bf396c9eed41a17ed8e898c"
+DOWNLOAD="http://pngquant.org/pngquant-2.0.0-src.tar.bz2"
+MD5SUM="5bb20c5c07e5db4ae9c5a16f5bb870b6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""