summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 77dd0529f9..18743cbe41 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 6720d22682..1965de53ce 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=""