# Template file for 'zeromq'
pkgname=zeromq
version=3.2.2
revision=2
build_style=gnu-configure
configure_args="--disable-static"
short_desc="The Intelligent Transport Layer"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://www.zeromq.org"
distfiles="http://download.zeromq.org/zeromq-${version}.tar.gz"
checksum=2b4eeda60fe47a9fa0804d53d76f656665c5f84dab7e63a1d496d9430b554f99
long_desc="
 *  The socket library that acts as a concurrency framework.
 *  Faster than TCP, for clustered products and supercomputing.
 *  Carries messages across inproc, IPC, TCP, and multicast.
 *  Connect N-to-N via fanout, pubsub, pipeline, request-reply.
 *  Asynch I/O for scalable multicore message-passing apps."

zeromq-devel_package() {
	depends="${sourcepkg}-${version}_${revision}"
	short_desc="${short_desc} -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/man/man3
	}
}

zeromq_package() {
	pkg_install() {
		vmove usr
	}
}
