-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathgnustep-web-install
executable file
·61 lines (50 loc) · 2.02 KB
/
gnustep-web-install
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/sh
echo "Install GNUstep"
echo " "
cat <<EOF
@@@@@@@@@
@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@ @@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@
@@@@@@@@@@@@@@@@@@@@@@@@@@@ @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@
@@@@@@@@@@@@@@
@@@@@@@@@@@@@ @
@@@@@@@@@@@@@ @
@@@@@@@@@@@@ @@
@@@@@@@@@@@@ @@@
@@@@@@@@@@@ @@@@
@@@@@@@@@ @@@@@
@@@@@@@ @@@@@@@
@@@@@@@@@ @@@@@@@@@
@@@@@@@@@@@@ @@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@
EOF
echo " "
export KERNEL=`uname -s | sed "s/\-.*//g" | awk '{print(tolower($0))}'`
echo "Begin setup for ${KERNEL}"
export USER=`whoami`
curl -fsSL > ./setup-${KERNEL} https://raw.githubusercontent.com/gnustep/tools-scripts/master/setup-${KERNEL}
. ./setup-${KERNEL}
rm ./setup-${KERNEL}
echo "======== Create gnustep build directories ========"
mkdir -p gnustep
cd gnustep
git clone https://github.com/gnustep/tools-scripts
./tools-scripts/clone-essential-repos-https
echo "================ Install Dependencies ================"
# Install dependencies
./tools-scripts/install-dependencies-${KERNEL}
echo "================ Build ================"
# Build it...
./tools-scripts/build-${KERNEL}
# Post installation
echo "================ Post Installation ================"
./tools-scripts/post-install-${KERNEL}
echo "Done..."