           SPELL=qemu

if [[ -z $QEMU_VER ]]; then
  QEMU_VER="0.12"
fi

case ${QEMU_VER:0:4} in
  0.10)
         VERSION=0.10.6
  ;;
  0.11)
         VERSION=0.11.1
  ;;
  0.12)
         VERSION=0.12.5
  ;;
  0.13)
         VERSION=0.13.0
  ;;
esac
          SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
   SOURCE_URL[0]=http://mirror.its.uidaho.edu/pub/savannah/$SPELL/$SOURCE

if [[ $QEMU_VER == "0.10" ]] || [[ $QEMU_VER == "0.13" ]]; then
         SOURCE2=$SOURCE.sig
  SOURCE2_URL[0]=$SOURCE_URL.sig
  SOURCE2_URL[1]=${SOURCE_URL[1]}.sig
      SOURCE_GPG="qemu.gpg:${SOURCE2}:UPSTREAM_KEY"
  SOURCE2_IGNORE=signature
else
  SOURCE_GPG="gurus.gpg:${SOURCE}.sig:WORKS_FOR_ME"
fi

    DISTCC_HOSTS=
      LICENSE[0]=GPL
      LICENSE[1]=LGPL
        WEB_SITE=http://www.nongnu.org/qemu/
        KEYWORDS="emulator utils"
         ENTERED=20051102
           SHORT="generic and open source processor emulator"
cat << EOF
QEMU achieves a good emulation speed by using dynamic translation.

QEMU has two operating modes:

* Full system emulation. In this mode, QEMU emulates a full system (for example
  a PC), including a processor and various peripherials. It can be used to
  launch different Operating Systems without rebooting the PC or to debug
  system code.
* User mode emulation (Linux host only). In this mode, QEMU can launch Linux
  processes compiled for one CPU on another CPU.
EOF
