void-packages/srcpkgs/czmq/template

30 lines
757 B
Bash

# Template file for 'czmq'
pkgname=czmq
version=4.0.2
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=794f80af7392ec8d361ad69646fc20aaa284d23fef92951334009771a732c810
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
}
}