void-packages/srcpkgs/czmq/template

30 lines
790 B
Bash

# Template file for 'czmq'
pkgname=czmq
version=4.2.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@voidlinux.org>"
license="MPL-2.0"
homepage="https://zeromq.org/"
distfiles="https://github.com/zeromq/czmq/archive/v${version}.tar.gz"
checksum=83457cd32a2c2615b8d7ebcf91b198cb0d8df383a2072b96835ab250164d8a83
pre_configure() {
./autogen.sh
}
czmq-devel_package() {
short_desc+=" - development files"
depends="libuuid-devel 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
}
}