# Template file for 'zeromq'
pkgname=zeromq
version=3.2.3
revision=1
build_style=gnu-configure
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=e134c1aaf829dd77bca9dc0fa199ba31095a581bd0d3dda5fc59523b9f401238
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+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/man/man3
		vmove "usr/lib/*.a"
	}
}

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