home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- #item ####description ###on off ###
- rm -f /tmp/SeTnewtag # empty the return file
- dialog --title "SELECTING PACKAGES FOR SERIES D (PROGRAM DEVELOPMENT)" \
- --checklist "Please select the packages you wish to install \
- from series D. Use the \
- UP/DOWN keys to scroll through the list, and the SPACE key to select \
- the packages you wish to install. Recommended packages have \
- already been selected for you, but you may unselect them if you wish. \
- Press ENTER when you are \
- done." 22 70 11 \
- "gcc263" "GNU C/C++ compiler+support files 2.6.3" "on" \
- "tools" "tools for compiling shared libraries" "off" \
- "libgxx" "GNU C++ library" "on" \
- "byacc" "Berkeley Yacc" "off" \
- "flex" "Fast lexical analyzer generator 2.4.7" "on" \
- "include" "4.6.27 include files for C programs" "on" \
- "man2" "Man pages for Linux system calls" "off" \
- "man3" "Man pages for C library functions" "off" \
- "objc263" "GNU Objective-C compiler 2.6.3" "off" \
- "p2c" "A Pascal to C translator 1.19" "off" \
- "gmake" "GNU make" "on" \
- "pmake" "BSD 4.4 make" "on" \
- "extralib" "Extra profile/debug libs 4.6.27" "off" \
- "gdb" "The GNU debugger 4.13" "off" \
- "bison" "GNU bison parser generator 1.22" "on" \
- "lx1194_1" "Linux kernel source 1.1.94, part 1" "on" \
- "lx1194_2" "Linux kernel source 1.1.94, part 2 (include files)" "on" \
- "lx1194_3" "Linux kernel source 1.1.94, part 3" "on" \
- "clisp" "The CLISP Common Lisp interpreter" "off" \
- "f2c" "A Fortran-77 to C translator" "off" \
- "libc" "Development libs 4.6.27 for the C compiler" "on" \
- "ncurses" "A curses-compatible library" "off" \
- "svgalib" "Svgalib Super-VGA Graphics Library" "off" \
- "strace" "Traces program execution" "off" \
- "perl" "Larry Wall's interpreted systems language" "off" \
- "rcs" "GNU revision control system" "off" \
- "binutils" "GNU C compiler utilities" "on" \
- "m4" "GNU m4 1.4" "on" \
- 2> /tmp/SeTpkgs
- if [ $? = 1 -o $? = 255 ]; then
- rm -f /tmp/SeTpkgs
- exit
- fi
- cat /dev/null > /tmp/SeTnewtag
- for PACKAGE in gcc263 libgxx include man2 objc263 p2c pmake flex byacc \
- extralib gdb bison clisp f2c libc ncurses gmake strace svgalib \
- lx1194_1 lx1194_2 lx1194_3 \
- perl rcs binutils m4 man3 tools ; do
- if fgrep \"$PACKAGE\" /tmp/SeTpkgs 1> /dev/null 2> /dev/null ; then
- echo "$PACKAGE: ADD" >> /tmp/SeTnewtag
- else
- echo "$PACKAGE: SKP" >> /tmp/SeTnewtag
- fi
- done
- rm -f /tmp/SeTpkgs
-