comparison contrib/splicex/configure @ 687:f471a2bca6ff draft

splicex improvements made
author resdb <resdb@d3v11-VM.(none)>
date Sun, 23 Oct 2011 06:59:13 -0500
parents 39369594be19
children
comparison
equal deleted inserted replaced
686:3fa5b31c4b4c 687:f471a2bca6ff
1 #!/bin/bash 1 #!/bin/bash
2 clear 2 clear
3 echo " 3 echo -e "\033[1;31m
4 __________ _ _ __ __ ______ 4 __________ _ _ __ __ ______
5 / / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / / 5 / / / / ___| _ __ | (_) ___ ___\\ \\/ / / / / /
6 / / / /\___ \| '_ \| | |/ __/ _ \\\\ / / / / / 6 / / / /\___ \| '_ \| | |/ __/ _ \\\\\\ / / / / /
7 / / / / ___) | |_) | | | (_| __// \\ / / / / 7 / / / / ___) | |_) | | | (_| __// \\ / / / /
8 /_/_/_/ |____/| .__/|_|_|\\___\\___/_/\\_\\/_/_/_/ 8 /_/_/_/ |____/| .__/|_|_|\\___\\___/_/\\_\\/_/_/_/
9 |_| 9 |_|
10 \033[1;33m
11 .:Brute Force Utilities For GNU/Linux:.
12 \033[0;0m
10 13
11 .:Brute Force Utilities For GNU/Linux:. 14 SpliceX is free software: you can redistribute it and/or modify it under
15 the terms of the GNU General Public License as published by the Free
16 Software Foundation, either version 3 of the License, or (at your option)
17 any later version.
18
19 SpliceX is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details. <http://www.gnu.org/licenses/>
23
12 " 24 "
13 25
14 if [[ $(id -u) != 0 ]]; then 26 if [[ $(id -u) != 0 ]]; then
15 echo 'root privileges required!..Quiting...' 27 echo 'root privileges required!..Quiting...'
16 exit 1 28 exit 1
17 fi 29 fi
18 30
19 sleep .7 31 sleep .3
20 echo 'CONFIGURE: ' 32 echo 'CONFIGURE: '
21 sleep .7 33 sleep .3
22 echo -ne 'checking for python' 34 echo -ne 'checking for python'
23 sleep .7 35 sleep .3
24 echo -ne '.' 36 echo -ne '.'
25 sleep .7 37 sleep .3
26 echo -ne '.' 38 echo -ne '.'
27 sleep .7 39 sleep .3
28 echo -ne '.' 40 echo -ne '.'
29 if which python >/dev/null; then 41 if which python >/dev/null; then
30 sleep .7 42 sleep .3
31 echo -ne ' python found :-)' 43 echo -ne ' python found :-)'
32 echo 44 echo
33 sleep .7 45 sleep .3
34 else 46 else
35 sleep .7 47 sleep .3
36 echo -ne ' python not found. Quiting... :-(' 48 echo -ne ' python not found. Quiting... :-('
37 echo 49 echo
38 exit 1 50 exit 1
39 fi 51 fi
40 52
41 echo -ne 'checking for man' 53 echo -ne 'checking for man'
42 sleep .7 54 sleep .3
43 echo -ne '.' 55 echo -ne '.'
44 sleep .7 56 sleep .3
45 echo -ne '.' 57 echo -ne '.'
46 sleep .7 58 sleep .3
47 echo -ne '.' 59 echo -ne '.'
48 if which man >/dev/null; then 60 if which man >/dev/null; then
49 sleep .7 61 sleep .3
50 echo -ne ' man found :-)' 62 echo -ne ' man found :-)'
51 echo 63 echo
52 sleep .7 64 sleep .3
53 else 65 else
54 sleep .7 66 sleep .3
55 echo -ne ' man not found. Quiting... :-(' 67 echo -ne ' man not found. Quiting... :-('
56 echo 68 echo
57 exit 1 69 exit 1
58 fi 70 fi
59 71
60 PYPATH=`which python` 72 PYPATH=`which python`
61 echo "configuring splicex for $PYPATH" 73 echo "configuring splicex for $PYPATH"
62 sleep .7 74 sleep .3
63 echo -ne '.' 75 echo -ne '.'
64 sleep .7 76 sleep .3
65 echo -ne '.' 77 echo -ne '.'
66 sleep .7 78 sleep .3
67 echo -ne '.' 79 echo -ne '.'
68 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex.py >LINUX/splicex.cp 80 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex.py >LINUX/splicex.cp
69 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex-deshadow.py >LINUX/splicex-deshadow.cp 81 sed -e s^PYTHON^"$PYPATH"^g LINUX/splicex-deshadow.py >LINUX/splicex-deshadow.cp
70 echo "configured...continuing \`make install'" 82 echo "configured...continuing \`make install'"
71 sleep .7 83 sleep .3
72 echo 84 echo
73 echo 'INSTALL: ' 85 echo 'INSTALL: '
74 sleep .7 86 sleep .3