From c8e967330912ba603a5c2c5af562bc196e018eba Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 6 Dec 2011 14:18:37 +0000 Subject: Update to 2.3.2 --- vde/build/vde.SlackBuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'vde/build/vde.SlackBuild') diff --git a/vde/build/vde.SlackBuild b/vde/build/vde.SlackBuild index 6c809729..abc554df 100755 --- a/vde/build/vde.SlackBuild +++ b/vde/build/vde.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh # $Id$ -# Copyright (c) 2004-2010 Eric Hameleers, Eindhoven, NL +# Copyright (c) 2004-2011 Eric Hameleers, Eindhoven, NL # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -61,6 +61,8 @@ # * Update. # 2.3.1-1: 23/aug/2010 by Eric Hameleers # * Update. +# 2.3.2-1: 06/dec/2011 by Eric Hameleers +# * Update. # # Run 'sh vde.SlackBuild' to build a Slackware package. # The package (.tgz) and .txt file as well as build logs are created in /tmp . @@ -71,7 +73,7 @@ # Set initial variables: PRGNAM=vde -SRCVER=${SRCVER:-2.3.1} +SRCVER=${SRCVER:-2.3.2} VERSION=$(echo $SRCVER | tr '-' '.') BUILD=${BUILD:-1} TAG=${TAG:-alien} @@ -138,10 +140,11 @@ rm -rf $OUTPUT/{configure,make,install,error,makepkg}-$PRGNAM.log # 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 -- cgit v1.2.3-65-gdbad