void-packages/srcpkgs/czmq/template

30 lines
772 B
Bash

# Template file for 'czmq'
pkgname=czmq
version=4.1.1
revision=1
build_style=gnu-configure
hostmakedepends="asciidoc automake libtool pkg-config xmlto"
makedepends="libuuid-devel zeromq-devel"
short_desc="High-level C binding for ZeroMQ"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="MPL-2.0"
homepage="http://czmq.zeromq.org/"
distfiles="https://github.com/zeromq/czmq/archive/v${version}.tar.gz"
checksum=b7623433547aa4b6e79722796c27ebc7c0470fea4204e920fd05e717c648f889
pre_configure() {
./autogen.sh
}
czmq-devel_package() {
short_desc+=" - development files"
depends="zeromq-devel ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}