summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorOleg O. Chukaev <oleg.chukaev@mail.ru>2010-06-13 04:20:36 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-13 14:52:38 -0500
commitc2c8598d6eef32205e3616e2ecee6d2a8b027f34 (patch)
tree686769d664e42030fb72ac95a79b6774dadfdc0d /graphics
parent6c7905eabba6830e090147972b43bb0bec053087 (diff)
downloadslackbuilds-c2c8598d6eef32205e3616e2ecee6d2a8b027f34.tar.gz
graphics/optipng: Updated for version 0.6.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/optipng/optipng.SlackBuild14
-rw-r--r--graphics/optipng/optipng.info8
2 files changed, 11 insertions, 11 deletions
diff --git a/graphics/optipng/optipng.SlackBuild b/graphics/optipng/optipng.SlackBuild
index ee5d256023..ff6c6ce292 100644
--- a/graphics/optipng/optipng.SlackBuild
+++ b/graphics/optipng/optipng.SlackBuild
@@ -4,7 +4,7 @@
# Written by Oleg O. Chukaev <oleg.chukaev@mail.ru>
PRGNAM=optipng
-VERSION=0.6.3
+VERSION=0.6.4
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -29,6 +29,8 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
fi
set -e
@@ -46,18 +48,16 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+./configure -with-system-zlib
cd src
-make -f scripts/gcc.mak CFLAGS="$SLKCFLAGS -W -Wall"
-make -f scripts/gcc.mak install DESTDIR=$PKG prefix=/usr
+ make -f scripts/gcc.mak CFLAGS="$SLKCFLAGS -W -Wall"
+ make -f scripts/gcc.mak install DESTDIR=$PKG prefix=/usr
cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
diff --git a/graphics/optipng/optipng.info b/graphics/optipng/optipng.info
index 6278eae183..ec654ecb3b 100644
--- a/graphics/optipng/optipng.info
+++ b/graphics/optipng/optipng.info
@@ -1,10 +1,10 @@
PRGNAM="optipng"
-VERSION="0.6.3"
+VERSION="0.6.4"
HOMEPAGE="http://optipng.sourceforge.net/"
-DOWNLOAD="http://prdownloads.sourceforge.net/optipng/optipng-0.6.3.tar.gz"
-MD5SUM="6cef405197a878acff4c6216cf38e871"
+DOWNLOAD="http://prdownloads.sourceforge.net/optipng/optipng-0.6.4.tar.gz"
+MD5SUM="d6c10dd8d8f1d5b579221bc9cfbfbcb6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Oleg O. Chukaev"
EMAIL="oleg.chukaev@mail.ru"
-APPROVED="dsomero"
+APPROVED="rworkman"