           SPELL=php
if [[ $PHP5_BRANCH == stable ]]; then
         VERSION=5.3.13
  SECURITY_PATCH=17
     SOURCE_HASH=sha512:230ae89ee8bcb7bf0aa9b05adb62641f14de7db1d9421ed84e4f6ae47ace7e93ed67f2925b2727ee447c1d9191ef9ff94980a5af9e177681f3cf0c08e1ceb405
          SOURCE=$SPELL-$VERSION.tar.bz2
   SOURCE_URL[0]=http://static.php.net/www.php.net/distributions/$SOURCE
   if [[ $PHP5_SUHOSIN == y ]]; then
        VERSIONX=5.3.9
        VERSION2=0.9.10
         SOURCE2=suhosin-patch-$VERSIONX-$VERSION2.patch.gz
     SOURCE2_URL="http://download.suhosin.org/$SOURCE2"
         SOURCE3=$SOURCE2.sig
  SOURCE3_IGNORE=signature
     SOURCE3_URL="http://download.suhosin.org/$SOURCE3"
     SOURCE2_GPG="suhosin.gpg:$SOURCE3:UPSTREAM_KEY"
   fi
elif [[ $PHP5_BRANCH == alpha ]]; then
         VERSION=5.3.13
     SOURCE_HASH=sha512:230ae89ee8bcb7bf0aa9b05adb62641f14de7db1d9421ed84e4f6ae47ace7e93ed67f2925b2727ee447c1d9191ef9ff94980a5af9e177681f3cf0c08e1ceb405
          SOURCE=$SPELL-$VERSION.tar.bz2
   SOURCE_URL[0]=http://downloads.php.net/johannes/$SOURCE
  SECURITY_PATCH=17
elif [[ $PHP5_BRANCH == legacy ]]; then
         VERSION=5.2.17
  SECURITY_PATCH=17
     SOURCE_HASH=sha512:baf3b5038468c9fa7c1a9e0506ed23559c21ba8df29380498a24e8d31c4c5f3633f29b1bc2faa3e59c6e5336536c09e19a5462b0a9d5916181c08f1f19abbca8
          SOURCE=$SPELL-$VERSION.tar.bz2
   SOURCE_URL[0]=http://static.php.net/www.php.net/distributions/$SOURCE
  if [[ $PHP5_SUHOSIN == y ]]; then
        VERSIONX=5.2.16
        VERSION2=0.9.7
         SOURCE2=suhosin-patch-$VERSIONX-$VERSION2.patch.gz
     SOURCE2_URL="http://download.suhosin.org/$SOURCE2"
         SOURCE3=$SOURCE2.sig
  SOURCE3_IGNORE=signature
     SOURCE3_URL="http://download.suhosin.org/$SOURCE3"
     SOURCE2_GPG="suhosin.gpg:$SOURCE3:UPSTREAM_KEY"
  fi
         SOURCE4=php52-backports-20120526.patch
     SOURCE4_URL=http://php52-backports.googlecode.com/files/$SOURCE4
    SOURCE4_HASH=sha512:d3650e2a7a33b69c4d55125956a141af702fa61a8e470edb143ab49c5865ba18a34659c90e1c28c70826a7b3659a9eeae063a30ee5f7d0e8d4cf96d76320fa9c
else
         VERSION=5.3.13
  SECURITY_PATCH=17
     SOURCE_HASH=sha512:230ae89ee8bcb7bf0aa9b05adb62641f14de7db1d9421ed84e4f6ae47ace7e93ed67f2925b2727ee447c1d9191ef9ff94980a5af9e177681f3cf0c08e1ceb405
          SOURCE=$SPELL-$VERSION.tar.bz2
   SOURCE_URL[0]=http://downloads.php.net/johannes/$SOURCE
fi
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
        WEB_SITE=http://www.php.net/
         ENTERED=20011024
      LICENSE[0]=http://www.php.net/license/3_0.txt
        KEYWORDS="php"
           SHORT="Hypertext Preprocessor (PHP) scripting language"
cat << EOF
PHP is a widely-used Open Source general-purpose scripting language
that is especially suited for Web development and can be embedded
into HTML. Its syntax draws upon C, Java, and Perl, and is easy to
learn. PHP runs on many different platforms and can be used as a
standalone executable or as a module under a variety of Web servers.
It has excellent support for databases, XML, LDAP, IMAP, Java,
various Internet protocols, and general data manipulation, and is
extensible via its powerful API. It is actively developed and
supported by a talented and energetic international team. Numerous
Open Source and commercial PHP-based application packages are
available.
EOF
