home *** CD-ROM | disk | FTP | other *** search
/ Freelog 2 / Freelog002.iso / slakware / xap1 / maketag < prev    next >
Text File  |  1999-02-08  |  2KB  |  61 lines

  1. #!/bin/sh
  2. #item   ####description                                      ###on off ###
  3. TMP=/var/log/setup/tmp
  4. if [ ! -d $TMP ]; then
  5.   mkdir -p $TMP
  6. fi
  7. cat /dev/null > $TMP/SeTnewtag
  8. dialog --title "SELECTING PACKAGES FROM SERIES XAP (X APPLICATIONS)" \
  9.        --checklist "Please select the packages you wish to install \
  10. from series XAP. Use the \
  11. UP/DOWN keys to scroll through the list, and the SPACE key to select \
  12. the packages you wish to install. Recommended packages have \
  13. already been selected for you, but you may unselect them if you wish. \
  14. Press ENTER when you are \
  15. done." 21 70 10 \
  16. "netscape" "Netscape Communicator Internet browser" "on" \
  17. "fvwm95" "A Win95-like window manager for X" "on" \
  18. "gs_x11" "Adds X11 driver to Ghostscript" "on" \
  19. "libgr" "Graphics-related libraries and header files" "on" \
  20. "qt_1_41" "Library for C++ GUI development (see license)" "off" \
  21. "seyon" "A complete telecommunications package" "off" \
  22. "gnuplot" "Gnuplot function plotting utility" "off" \
  23. "gimp" "GNU Image Manipulation Program" "on" \
  24. "freefont" "Extra fonts for the GIMP" "on" \
  25. "xv" "XV GIF/TIFF/JPEG/PostScript Image Viewer" "on" \
  26. "gchess" "GNU chess and xboard" "off" \
  27. "xfm" "xfm, an X windows filemanager" "on" \
  28. "xfileman" "another X filemanager" "on" \
  29. "gv" ".ps/.pdf viewer based on Ghostview" "on" \
  30. "tkdesk" "TkDesk X File Manager" "on" \
  31. "x3270" "x3270 3.0.1.3 - IBM host access tool" "off" \
  32. "xgames" "A collection of X windows games" "on" \
  33. "xfract" "Fractint for X" "on" \
  34. "xpaint" "A color painting/image editing program" "on" \
  35. "xpdf" "Portable Document Format (PDF) viewer" "on" \
  36. "xspread" "An X windows spreadsheet" "off" \
  37. "xxgdb" "xxgdb-1.12" "on" \
  38. "arena" "A graphical browser for the World Wide Web" "off" \
  39. 2> $TMP/SeTpkgs
  40. if [ $? = 1 -o $? = 255 ]; then
  41.  rm -f $TMP/SeTpkgs
  42.  > $TMP/SeTnewtag
  43.  for pkg in gchess gv gnuplot gs_x11 gimp freefont \
  44.   xpdf seyon xxgdb arena libgr x3270 tkdesk qt_1_41 \
  45.   xfm xpaint fvwm95 xfileman xfract xgames xspread xv netscape ; do
  46.   echo "$pkg: SKP" >> $TMP/SeTnewtag
  47.  done
  48.  exit
  49. fi
  50. cat /dev/null > $TMP/SeTnewtag
  51. for PACKAGE in gchess xfm gv x3270 xgames xspread xxgdb \
  52. xpdf arena xfileman gnuplot gs_x11 libgr seyon xv tkdesk \
  53. gimp freefont fvwm95 xfract xpaint netscape qt_1_41 ; do
  54.  if fgrep \"$PACKAGE\" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then
  55.   echo "$PACKAGE: ADD" >> $TMP/SeTnewtag
  56.  else
  57.   echo "$PACKAGE: SKP" >> $TMP/SeTnewtag
  58.  fi
  59. done
  60. rm -f $TMP/SeTpkgs
  61.