mirror of
https://github.com/jfdelnero/HxCFloppyEmulator.git
synced 2026-07-28 04:06:36 +00:00
fltk-1.4.1 + md5sum check (WIP)
This commit is contained in:
@@ -1,19 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $OSTYPE == 'darwin'* ] || [ $1 = "1" ] ; then
|
||||
export DOWNLOADURL=https://www.fltk.org/pub/fltk/1.4.0/fltk-1.4.0-1-source.tar.gz
|
||||
export ARCHIVENAMEBASE=fltk-1.4.0-1-source
|
||||
export DOWNLOADURL=https://github.com/fltk/fltk/releases/download/release-1.4.1/fltk-1.4.1-source.tar.gz
|
||||
export DOWNLOADHASH="203eed9e14a7bd6ff0373c0f3f32ef07"
|
||||
export ARCHIVENAMEBASE=fltk-1.4.1-source
|
||||
export PATCHFILE=
|
||||
export FOLDERNAME=fltk-1.4.0-1
|
||||
export FOLDERNAME=fltk-1.4.1
|
||||
else
|
||||
export DOWNLOADURL=https://www.fltk.org/pub/fltk/1.4.0/fltk-1.4.0-1-source.tar.gz
|
||||
export ARCHIVENAMEBASE=fltk-1.4.0-1-source
|
||||
export DOWNLOADURL=https://github.com/fltk/fltk/releases/download/release-1.4.1/fltk-1.4.1-source.tar.gz
|
||||
export DOWNLOADHASH="203eed9e14a7bd6ff0373c0f3f32ef07"
|
||||
export ARCHIVENAMEBASE=fltk-1.4.1-source
|
||||
export PATCHFILE=fltk-1.4.x-vc6.patch
|
||||
export FOLDERNAME=fltk-1.4.0-1
|
||||
export FOLDERNAME=fltk-1.4.1
|
||||
fi
|
||||
|
||||
if [[ ! -d fltk-1.x.x ]]; then
|
||||
wget $DOWNLOADURL -nc || exit 1
|
||||
echo ${DOWNLOADHASH} ${ARCHIVENAMEBASE}.tar.gz | md5sum -c -
|
||||
tar -xzf ${ARCHIVENAMEBASE}.tar.gz
|
||||
mv ${FOLDERNAME} fltk-1.x.x
|
||||
if [[ -n ${PATCHFILE} ]]; then
|
||||
|
||||
Reference in New Issue
Block a user