graphics/potrace: Updated for version 1.14.

Signed-off-by: Kyle Guinn <elyk03@gmail.com>
This commit is contained in:
Kyle Guinn 2017-03-05 19:57:17 -06:00 committed by Willy Sudiarto Raharjo
parent 489ce29bce
commit 8cda1c9458
2 changed files with 11 additions and 8 deletions

View file

@ -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

View file

@ -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=""