# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=zeromq pkgver=2.1.7 pkgrel=0 pkgdesc="The ZeroMQ messaging library and tools" url="http://www.zeromq.org/" arch="all" license="LGPLv3+" depends= makedepends="util-linux-ng-dev" install= subpackages="$pkgname-dev $pkgname-doc libzmq" source="http://download.zeromq.org/zeromq-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" } build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install } libzmq() { pkgdesc="The ZeroMQ messaging library" mkdir -p "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/libzmq.so.* "$subpkgdir"/usr/lib/ } md5sums="7d3120f8a8fb913a7e55c57c6eb024f3 zeromq-2.1.7.tar.gz"