           SPELL=qemu

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

case ${QEMU_VER:0:4} in
  0.12)
         VERSION=0.12.5
  ;;
  0.13)
         VERSION=0.13.0
  ;;
  0.14)
         VERSION=0.14.1
  ;;
  0.15)
         VERSION=0.15.1
  ;;
  1.00)
         VERSION=1.0.1
  ;;
esac

          SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
if [[ $QEMU_VER == "0.12" ]] || [[ $QEMU_VER == "0.14" ]]; then
   SOURCE_URL[0]=http://download.savannah.gnu.org/releases/$SPELL/$SOURCE
else
   SOURCE_URL[0]=http://wiki.qemu.org/download/$SOURCE
fi
         SOURCE2=$SOURCE.sig
  SOURCE2_URL[0]=$SOURCE_URL.sig
      SOURCE_GPG="qemu.gpg:${SOURCE2}:UPSTREAM_KEY"
  SOURCE2_IGNORE=signature
    DISTCC_HOSTS=
      LICENSE[0]=GPL
      LICENSE[1]=LGPL
        WEB_SITE=http://qemu.org/
        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
