void-packages/srcpkgs/czmq/template

30 lines
757 B
Bash

# Template file for 'czmq'
pkgname=czmq
version=4.1.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config libtool automake asciidoc xmlto"
makedepends="libuuid-devel zeromq-devel"
short_desc="High-level C binding for ZeroMQ"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="MPL-2"
homepage="http://czmq.zeromq.org/"
distfiles="https://github.com/zeromq/czmq/archive/v${version}.tar.gz"
checksum=2e87c19988d1168b70d7ec0fdce79aba4e92a6330959c3a2576c72b319acb478
pre_configure() {
./autogen.sh
}
czmq-devel_package() {
short_desc+=" - development files"
depends="${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
}
}