           SPELL=netpbm
if [[ $NETPBM_SVN == y ]]; then
         VERSION=$NETPBM_RELEASE
          SOURCE=$SPELL-$VERSION.tar.bz2
   SOURCE_URL[0]=svn_http://netpbm.svn.sourceforge.net/svnroot/netpbm/$NETPBM_RELEASE:$SPELL
   SOURCE_IGNORE=volatile
  FORCE_DOWNLOAD=1
else
# Switched to an export tarball of stable since super stable does not build with
# current libpng.
  NETPBM_RELEASE=stable
         VERSION=10.86.48
     SOURCE_HASH=sha512:ccd5ea0525d3bc4a8515cadebdedab0d618934ec1af2df4cb97cf683f0442f2264648bd0b8813f3ec745e67be0e5fb8591e5ed572dcff0614ada2f0647b901c1
          SOURCE=$SPELL-$VERSION.tgz
   SOURCE_URL[0]=http://sobukus.de/netpbm/$SOURCE
#   SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/$SPELL/$SOURCE
fi
         SOURCE2=$SPELL-userguide-20170506.tar.bz2
  SOURCE2_URL[0]=http://sobukus.de/netpbm/$SOURCE2
    SOURCE2_HASH=sha512:506bbeb64834da84271485be5b5d4d1ae6d32c17db8d2ac2915a2326eb7b24a6bdb07e02638726569815c148dcd67c0a31675e414d46d286de007ccc85aee011
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
        WEB_SITE=http://netpbm.sourceforge.net/
         ENTERED=20010922
      LICENSE[0]=GPL
        KEYWORDS="graphics"
           SHORT="netpbm contains 220 programs that convert graphics formats"
cat << EOF
NetPBM (formerly PBMplus) is a package of over 220 programs that convert
from one graphics format to another and do simple editing and analysis
of images. There are no interactive tools in this package, and nothing
that displays graphics of any kind. Over 80 graphics formats are
handled, including JPEG, PNG, GIF, TIFF, BMP, XWD, XBM, G3 fax, and
special formats used by digital cameras and handheld computers. Over 40
editing functions include scaling, cropping, quantization and dithering,
colorizing and uncolorizing, blurring, and dimming. Netpbm programs are
often invoked by other programs, for example in CGI scripts that manage
web site graphics. It also includes a C function library which helps you
write programs to process graphics at a lower level than the Netpbm
utilities.
EOF
