From 8cda1c9458fee5c944c9cdbb8914bbb48bae8365 Mon Sep 17 00:00:00 2001 From: Kyle Guinn Date: Sun, 5 Mar 2017 19:57:17 -0600 Subject: graphics/potrace: Updated for version 1.14. Signed-off-by: Kyle Guinn --- graphics/potrace/potrace.SlackBuild | 13 ++++++++----- graphics/potrace/potrace.info | 6 +++--- 2 files changed, 11 insertions(+), 8 deletions(-) (limited to 'graphics/potrace') diff --git a/graphics/potrace/potrace.SlackBuild b/graphics/potrace/potrace.SlackBuild index 0a811073bd..788471e9cf 100644 --- a/graphics/potrace/potrace.SlackBuild +++ b/graphics/potrace/potrace.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for potrace -# Copyright 2013,2015 Kyle Guinn , USA +# Copyright 2013-2017 Kyle Guinn , USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=potrace -VERSION=${VERSION:-1.13} +VERSION=${VERSION:-1.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$(uname -m)" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$(uname -m) ;; esac @@ -45,6 +45,9 @@ DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" @@ -71,7 +74,6 @@ chmod -R u+w,go-w,a+rX-st . # --enable-metric Use metric units (centimeters) as default # --enable-a4 Use A4 as the default papersize -CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -84,7 +86,8 @@ CFLAGS="$SLKCFLAGS" \ --disable-dependency-tracking \ --enable-shared \ --disable-static \ - --with-libpotrace + --with-libpotrace \ + CFLAGS="$SLKCFLAGS" \ make make check diff --git a/graphics/potrace/potrace.info b/graphics/potrace/potrace.info index e7e09ef581..69fafce112 100644 --- a/graphics/potrace/potrace.info +++ b/graphics/potrace/potrace.info @@ -1,8 +1,8 @@ PRGNAM="potrace" -VERSION="1.13" +VERSION="1.14" HOMEPAGE="http://potrace.sourceforge.net/" -DOWNLOAD="http://potrace.sourceforge.net/download/1.13/potrace-1.13.tar.gz" -MD5SUM="f26888fc2fbfa96fa79ce07fdcf4bb70" +DOWNLOAD="http://potrace.sourceforge.net/download/1.14/potrace-1.14.tar.gz" +MD5SUM="cd8086c8afa700ad912fd98562299360" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3