void-packages/srcpkgs/czmq/template
2019-02-11 14:43:02 -05:00

29 lines
793 B
Bash

# Template file for 'czmq'
pkgname=czmq
version=4.2.0
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.eu>"
license="MPL-2.0"
homepage="http://czmq.zeromq.org/"
distfiles="https://github.com/zeromq/czmq/archive/v${version}.tar.gz"
checksum=31185090b500b64855003be2450ced00efa6b58544639acfc68aa13c9ec249f8
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
}
}