10 |
|
## Config |
11 |
|
|
12 |
|
# HTTP Server. This is the source of all downloads. |
13 |
< |
HTTPSERVER="http://killigrew.ukc.ac.uk/" |
13 |
> |
HTTPSERVER="http://www.i-scream.org.uk/downloads/lib/" |
14 |
|
|
15 |
|
# This script uses wget, set it's path and parameters here |
16 |
|
WGETPARAM="-nv" |
17 |
|
WGET="/usr/local/bin/wget ${WGETPARAM}" |
18 |
|
|
19 |
|
# This should always be the same |
20 |
< |
PWD=`pwd` |
20 |
> |
SRCROOT=`pwd` |
21 |
|
|
22 |
|
## Library check |
23 |
|
|
32 |
|
echo " + ${LIB} found"; \ |
33 |
|
else \ |
34 |
|
echo " - ${LIB} not found, fetching from ${HTTPSERVER}${LIB}"; \ |
35 |
< |
/usr/local/bin/wget -nv ${HTTPSERVER}${LIB}; \ |
35 |
> |
${WGET} ${HTTPSERVER}${LIB}; \ |
36 |
|
fi |
37 |
|
|
38 |
|
done |
41 |
|
|
42 |
|
echo "> Generating Makefile includes" |
43 |
|
echo " + writing root of source tree" |
44 |
< |
echo "SOURCEROOT=${PWD}" > ${PWD}/Config.inc |
44 |
> |
echo "SOURCEROOT=${SRCROOT}" > ${SRCROOT}/Config.inc |
45 |
|
echo " + writing include" |
46 |
< |
echo "include \$(SOURCEROOT)/Config2.inc" >> ${PWD}/Config.inc |
46 |
> |
echo "include \$(SOURCEROOT)/Config2.inc" >> ${SRCROOT}/Config.inc |
47 |
|
|
48 |
|
echo "> Configure Completed" |
49 |
|
|