Differences From
Artifact [5fd2ea249e]:
11 11 exit 1
12 12 fi
13 13
14 14 MK4VERS="2.4.9.7"
15 15 SRC="src/metakit-${MK4VERS}.tar.gz"
16 16 SRCURL="http://www.equi4.com/pub/mk/metakit-${MK4VERS}.tar.gz"
17 17 SRCURL="http://pkgs.fedoraproject.org/repo/pkgs/metakit/metakit-${MK4VERS}.tar.gz/17330257376eea657827ed632ea62c9e/metakit-${MK4VERS}.tar.gz"
18 +SRCHASH='d1ba361d2d8517925cff5c23e8602822da9c8c347a75a15c225ec656ff7ca94d'
18 19 BUILDDIR="$(pwd)/build/metakit-${MK4VERS}"
19 20 OUTDIR="$(pwd)/out"
20 21 INSTDIR="$(pwd)/inst"
21 22 PATCHDIR="$(pwd)/patches"
22 23 export MK4VERS SRC SRCURL BUILDDIR OUTDIR INSTDIR PATCHDIR
23 24
24 25 # Set configure options for this sub-project
................................................................................
38 39 fi
39 40 export TCL_VERSION
40 41
41 42 if [ ! -f "${SRC}" ]; then
42 43 mkdir 'src' >/dev/null 2>/dev/null
43 44
44 45 if [ ! -d 'buildsrc' ]; then
45 - download "${SRCURL}" "${SRC}" - || exit 1
46 + download "${SRCURL}" "${SRC}" "${SRCHASH}" || exit 1
46 47 fi
47 48 fi
48 49
49 50 (
50 51 cd 'build' || exit 1
51 52
52 53 if [ ! -d '../buildsrc' ]; then