Commits

Rodrigo Bistolfi committed 5d9714c

processing: fix $LINK for 32 and 64 bits

Comments (0)

Files changed (1)

var/vabs/processing/src/processing.SlackBuild

 VERSION=${VERSION:-"2.0.3"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
 VL_PACKAGER=${VL_PACKAGER:-"rbistolfi"}   #Enter your Name!
-LINK=${LINK:-"http://download.processing.org/processing-${VERSION}-linux32.tgz"}  #Enter URL for package here!
+LINK32=${LINK:-"http://download.processing.org/processing-${VERSION}-linux32.tgz"}  #Enter URL for package here!
 LINK64=${LINK:-"http://download.processing.org/processing-${VERSION}-linux64.tgz"}  #Enter URL for package here!
+LINK="$LINK32 $LINK64"
 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
   SLKCFLAGS="-O2 -march=i586 -mtune=i686"
   CONFIGURE_TRIPLET="i486-vector-linux"
   LIBDIRSUFFIX=""
+  LINK=$LINK32
 elif [ "$ARCH" = "x86_64" ]; then
   SLKCFLAGS="-O2 -fpic"
   CONFIGURE_TRIPLET="x86_64-vlocity-linux"