summaryrefslogtreecommitdiffstats
path: root/potrace
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2011-06-28 09:19:04 +0000
committer Eric Hameleers <alien@slackware.com>2011-06-28 09:19:04 +0000
commit2ec2f939fa8b401f746210894b6bcbbda5d09846 (patch)
tree82d2af89645647e3ca428442b7322999689a3172 /potrace
parente61f3291fd621f62f847e115843d7de170e6ec2e (diff)
downloadasb-2ec2f939fa8b401f746210894b6bcbbda5d09846.tar.gz
asb-2ec2f939fa8b401f746210894b6bcbbda5d09846.tar.xz
Update to 1.9
Diffstat (limited to 'potrace')
-rwxr-xr-xpotrace/build/potrace.SlackBuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/potrace/build/potrace.SlackBuild b/potrace/build/potrace.SlackBuild
index 44537e96..ea1dc3b0 100755
--- a/potrace/build/potrace.SlackBuild
+++ b/potrace/build/potrace.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# $Id$
-# Copyright (c) 2008, 2009, 2010 Eric Hameleers, Eindhoven, NL
+# Copyright 2008, 2009, 2010, 2011 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -36,6 +36,8 @@
# * Slackware 13 packages built.
# 1.8-3: 20/may/2010 by Eric Hameleers <alien@slackware.com>
# * Slackware 13.1 packages built.
+# 1.9-1: 28/jun/2011 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
# Run 'sh potrace.SlackBuild' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -46,8 +48,8 @@
# Set initial variables:
PRGNAM=potrace
-VERSION=${VERSION:-1.8}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-1.9}
+BUILD=${BUILD:-1}
TAG=${TAG:-alien}
DOCS="AUTHORS COPYING ChangeLog NEWS README*"
@@ -109,10 +111,11 @@ rm -rf $TMP/tmp-$PRGNAM/* # remove the remnants of previous build
# Source file availability:
if ! [ -f ${SOURCE} ]; then
+ echo "Source '$(basename ${SOURCE})' not available yet..."
+ # Check if the $SRCDIR is writable at all - if not, download to $OUTPUT
+ [ -w "$SRCDIR" ] || SOURCE="$OUTPUT/$(basename $SOURCE)"
+ if [ -f ${SOURCE} ]; then echo "Ah, found it!"; continue; fi
if ! [ "x${SRCURL}" == "x" ]; then
- # Check if the $SRCDIR is writable at all - if not, download to $OUTPUT
- [ -w "$SRCDIR" ] || SOURCE="$OUTPUT/$(basename $SOURCE)"
- echo "Source '$(basename ${SOURCE})' not available yet..."
echo "Will download file to $(dirname $SOURCE)"
wget -nv -T 20 -O "${SOURCE}" "${SRCURL}" || true
if [ $? -ne 0 -o ! -s "${SOURCE}" ]; then