aboutsummaryrefslogtreecommitdiff
path: root/graphics/pngquant/pngquant.SlackBuild
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/pngquant.SlackBuild
parent659508cf9772adb654f2dc1ed7234ffbfee45ecd (diff)
graphics/pngquant: Updated for version 2.0.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/pngquant/pngquant.SlackBuild')
-rw-r--r--graphics/pngquant/pngquant.SlackBuild7
1 files changed, 6 insertions, 1 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 {} \;