diff options
author | Hunter Sezen <orbea@riseup.net> | 2019-08-24 07:36:10 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-08-24 07:36:10 +0700 |
commit | f7390313b6fa0b071735c2ee83ea5efd191f8762 (patch) | |
tree | 91ca3613e046c052bd40205fcda9b63631f9557b /libraries/png++ | |
parent | 7e37c9ef77a2eb2a390faf68161710eedb3217b1 (diff) |
libraries/png++: Updated for version 0.2.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/png++')
-rw-r--r-- | libraries/png++/png++.SlackBuild | 30 | ||||
-rw-r--r-- | libraries/png++/png++.info | 6 |
2 files changed, 8 insertions, 28 deletions
diff --git a/libraries/png++/png++.SlackBuild b/libraries/png++/png++.SlackBuild index b227d7dd8053a..6dd4c3385d02c 100644 --- a/libraries/png++/png++.SlackBuild +++ b/libraries/png++/png++.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for png++ -# Copyright 2015, 2018 Hunter Sezen California, USA +# Copyright 2015, 2018-2019 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,37 +23,17 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=png++ -VERSION=${VERSION:-0.2.9} +VERSION=${VERSION:-0.2.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -eu rm -rf $PKG @@ -71,12 +51,12 @@ find -L . \ sed -i 's|share/doc|doc|g' Makefile -make CFLAGS="$SLKCFLAGS" +make [ "${DOC:-0}" != 0 ] && make docs make install PREFIX=$PKG/usr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO \ +cp -a AUTHORS BUGS COPYING ChangeLog NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/png++/png++.info b/libraries/png++/png++.info index b19873b02fcd6..e91651cfd9934 100644 --- a/libraries/png++/png++.info +++ b/libraries/png++/png++.info @@ -1,8 +1,8 @@ PRGNAM="png++" -VERSION="0.2.9" +VERSION="0.2.10" HOMEPAGE="https://www.nongnu.org/pngpp/" -DOWNLOAD="https://download.savannah.gnu.org/releases/pngpp/png++-0.2.9.tar.gz" -MD5SUM="92863df3bee625d707cebc0e749c10df" +DOWNLOAD="https://download.savannah.gnu.org/releases/pngpp/png++-0.2.10.tar.gz" +MD5SUM="bcca7438bb1b55edd0156687f0259c82" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |