           SPELL=nanomsg
         VERSION=0.5-beta
          SOURCE="$SPELL-$VERSION.tar.gz"
   SOURCE_URL[0]=http://download.$SPELL.org/$SOURCE
     SOURCE_HASH=sha512:64bb658d80e94ec43e77b7a7c53a29e9b9cd02a7539e9c108b0bdfad8179af4202e11dcfdcb8400e3334931f61e59066fafe06c9df3bb4628dde6a047139ffe5
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
        WEB_SITE="http://nanomsg.org"
      LICENSE[0]="MIT"
         ENTERED=20150329
        KEYWORDS=""
           SHORT="socket library that provides several common communication patterns"
cat << EOF
nanomsg is a socket library that provides several common communication
patterns. It aims to make the networking layer fast, scalable, and easy to
use. Implemented in C, it works on a wide range of operating systems with
no further dependencies.

The communication patterns, also called "scalability protocols", are basic
blocks for building distributed systems. By combining them you can create a
vast array of distributed applications. The following scalability protocols
are currently available:

* PAIR - simple one-to-one communication * BUS - simple many-to-many
communication * REQREP - allows to build clusters of stateless services to
process user
	     requests
* PUBSUB - distributes messages to large sets of interested subscribers *
PIPELINE - aggregates messages from multiple sources and load balances them
	     among many destinations
* SURVEY - allows to query state of multiple applications in a single go

Scalability protocols are layered on top of the transport layer in the
network stack. At the moment, the nanomsg library supports the following
transports mechanisms:

* INPROC - transport within a process (between threads, modules etc.)  * IPC
- transport between processes on a single machine * TCP - network transport
via TCP

The library exposes a BSD-socket-like C API to the applications.
EOF
