summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2017-03-05 19:57:17 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-11 07:04:28 +0700
commit8cda1c9458fee5c944c9cdbb8914bbb48bae8365 (patch)
treed4faa889c7fd8a64526e349a5c408818b7d41fe6
parent489ce29bce2c8bbdd75bfc9b6673b77f555dfe6e (diff)
downloadslackbuilds-8cda1c9458fee5c944c9cdbb8914bbb48bae8365.tar.gz
graphics/potrace: Updated for version 1.14.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
-rw-r--r--graphics/potrace/potrace.SlackBuild13
-rw-r--r--graphics/potrace/potrace.info6
2 files changed, 11 insertions, 8 deletions
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 <elyk03@gmail.com>, USA
+# Copyright 2013-2017 Kyle Guinn <elyk03@gmail.com>, 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=""