blob: b5ad7348def5957bfc7f7aa328500e17f2ee16f7 (
plain) (
blame)
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
59
60
61
62
63
64
65
|
#!/bin/sh
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
fi
if [ "${BATCH}" ]; then
set \"EMNU\" \"MSE\" \"PHYLIP\" \"TOPO\"
else
/usr/bin/dialog --title "EMBOSS: EMBASSY applications" --clear \
--checklist "\n\
These third party applications have been adapted to
function as part of EMBOSS.\n
Please select EMBASSY applications to install:" -1 -1 4 \
EMNU "v${EMNU_VERSION} - Text-based menu" ON \
MSE "v${MSE_VERSION} - Phylogeny inference" ON \
PHYLIP "v${PHYLIP_VERSION} - Sequence editor" ON \
TOPO "v${TOPO_VERSION} - Transmembrane display" ON \
2> /tmp/checklist.tmp.$$
retval=$?
if [ -s /tmp/checklist.tmp.$$ ]; then
set `cat /tmp/checklist.tmp.$$`
fi
${RM} -f /tmp/checklist.tmp.$$
case $retval in
0)
if [ -z "$*" ]; then
echo "Nothing selected"
fi
;;
1)
echo "Cancel pressed."
exit 1
;;
esac
fi
${MKDIR} ${WRKDIRPREFIX}${CURDIR}
exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
while [ "$1" ]; do
case $1 in
\"EMNU\")
echo "WITH_EMNU= yes"
;;
\"MSE\")
echo "WITH_MSE= yes"
;;
\"PHYLIP\")
echo "WITH_PHYLIP= yes"
;;
\"TOPO\")
echo "WITH_TOPO= yes"
;;
*)
echo "Invalid option(s): $*" > /dev/stderr
${RM} -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
exit 1
;;
esac
shift
done
|