blob: 1fd436d2c55acd33b458aed5f2cc00a6017a4f55 (
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
|
#!/bin/sh
# $FreeBSD$
tempfile=`mktemp -t checklist`
if [ "${BATCH}" = "yes" ]; then
set \"common\"
else
/usr/bin/dialog --title "Papaya-plugins configuration options" --clear \
--checklist "\n\
Please select desired options:" -1 -1 8 \
common "Enable common generic plugins" ON \
extra "Enable extra generic plugins" OFF \
turf "Enable the TurfProtocol plugin" OFF \
turf-common "Enable common Turf plugins" OFF \
turf-extra "Enable extra Turf plugins" OFF \
python "Enable the Python interpreter" OFF \
all "Overrides above" OFF \
debugging "Compile with debugging symbols" OFF \
2> $tempfile
retval=$?
if [ -s $tempfile ]; then
set `cat $tempfile`
fi
rm -f $tempfile
case $retval in
0) if [ -z "$*" ]; then
echo "Nothing selected"
fi
;;
1) echo "Cancel pressed."
exit 1
;;
esac
fi
exec > ${WRKDIR}/Makefile.inc
while [ "$1" ]; do
echo "CONFIGURE_ARGS+= --enable-`echo $1 | sed -e 's/"//g'`"
shift
done
|