summaryrefslogtreecommitdiffstats
path: root/graphics/pngcrush/pngcrush.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pngcrush/pngcrush.SlackBuild')
-rw-r--r--graphics/pngcrush/pngcrush.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/graphics/pngcrush/pngcrush.SlackBuild b/graphics/pngcrush/pngcrush.SlackBuild
index f82c8b4c6c..826da8a212 100644
--- a/graphics/pngcrush/pngcrush.SlackBuild
+++ b/graphics/pngcrush/pngcrush.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pngcrush
-# Copyright 2012 Leo Midha <netrixtardis@stealth3.com>, San Antonio, Texas.
+# Copyright 2012 Leo Midha <netrixtardis at stealth3 dot com>, San Antonio, Texas.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,8 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Maintained by Eugene M. <damagedone at gmx dot com>
+
PRGNAM=pngcrush
-VERSION=${VERSION:-1.7.72}
+VERSION=${VERSION:-1.7.85}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,11 +57,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i "/^CFLAGS/s/=/+=/" Makefile
-
-CFLAGS+=" -DPNGCRUSH_COUNT_COLORS" \
- make
-install -D -m0755 pngcrush $PKG/usr/bin/pngcrush
+make
+install -D -m 0755 pngcrush $PKG/usr/bin/pngcrush
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true