summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2014-11-26 00:04:57 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-29 08:13:52 +0700
commitd971e7ca00fe0e81b6456e72206dce710c255112 (patch)
tree67e34d56abba54e34516b2e7c85c88e01ac4bb6a /graphics
parent6f2c8f7895947b8092423c5d0ae6840b9e7d8bc9 (diff)
downloadslackbuilds-d971e7ca00fe0e81b6456e72206dce710c255112.tar.gz
graphics/pngquant: Updated for version 2.3.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/pngquant/pngquant.SlackBuild30
-rw-r--r--graphics/pngquant/pngquant.info6
2 files changed, 20 insertions, 16 deletions
diff --git a/graphics/pngquant/pngquant.SlackBuild b/graphics/pngquant/pngquant.SlackBuild
index 7222682f99..5905b24717 100644
--- a/graphics/pngquant/pngquant.SlackBuild
+++ b/graphics/pngquant/pngquant.SlackBuild
@@ -9,21 +9,21 @@
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
+# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pngquant
-VERSION=${VERSION:-2.1.0}
+VERSION=${VERSION:-2.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,7 +67,11 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-make CFLAGSADD="$SLKCFLAGS"
+./configure \
+ --prefix=/usr \
+ CFLAGS="$SLKCFLAGS"
+
+make
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
diff --git a/graphics/pngquant/pngquant.info b/graphics/pngquant/pngquant.info
index fe19d67528..cb2a2a63ae 100644
--- a/graphics/pngquant/pngquant.info
+++ b/graphics/pngquant/pngquant.info
@@ -1,8 +1,8 @@
PRGNAM="pngquant"
-VERSION="2.1.0"
+VERSION="2.3.0"
HOMEPAGE="http://pngquant.org/"
-DOWNLOAD="http://pngquant.org/pngquant-2.1.0-src.tar.bz2"
-MD5SUM="92c0fccb7178d51fcc4770664da58865"
+DOWNLOAD="http://pngquant.org/pngquant-2.3.0-src.tar.bz2"
+MD5SUM="0ce07508367032634b0694bd9897c17f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""