if [ ! -f $sum ] ; then
echo >&2 "*** Receiving $url ***"
curl -L -o $file $url
- if [ -n "$sum_cmd" ] && [ -f $file ] ; then
- $sum_cmd $file > $sum
+ if [ -f $file ] ; then
+ touch $sum
fi
fi
}
qt5extras_id="mac"
fi
-## -- Get best checksum command
-sum_cmd=`command -v sha512sum`
-if [ -z "$sum_cmd" ] ; then
- sum_cmd=`command -v sha384sum`
-fi
-if [ -z "$sum_cmd" ] ; then
- sum_cmd=`command -v sha256sum`
-fi
-if [ -z "$sum_cmd" ] ; then
- sum_cmd=`command -v sha224sum`
-fi
-if [ -z "$sum_cmd" ] ; then
- sum_cmd=`command -v sha1sum`
-fi
-if [ -z "$sum_cmd" ] ; then
- sum_cmd=`command -v md5sum`
-fi
-
## -- Download information
boost_url="https://downloads.sourceforge.net/project/boost/boost/$boost_version/boost_`echo $boost_version | sed 's/\./\_/g'`.tar.bz2"
qt5_short_version=`echo $qt5_version | sed 's/\.[^.]*$//'`