void-packages/srcpkgs/rabbitmq-c/template

30 lines
755 B
Bash

# Template file for 'rabbitmq-c'
pkgname=rabbitmq-c
version=0.10.0
revision=1
build_style=cmake
make_check_target=test
hostmakedepends="popt xmlto doxygen"
makedepends="libressl-devel"
short_desc="RabbitMQ C client"
maintainer="Hans-J. Schmid <knock@myopendoor.de>"
license="MIT"
homepage="https://github.com/alanxz/rabbitmq-c"
distfiles="https://github.com/alanxz/${pkgname}/archive/v${version}.tar.gz"
checksum=6455efbaebad8891c59f274a852b75b5cc51f4d669dfc78d2ae7e6cc97fcd8c0
post_install() {
vlicense LICENSE-MIT LICENSE
}
rabbitmq-c-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}