void-packages/srcpkgs/rabbitmq-c/template

29 lines
719 B
Bash

# Template file for 'rabbitmq-c'
pkgname=rabbitmq-c
version=0.9.0
revision=1
build_style=cmake
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=316c0d156452b488124806911a62e0c2aa8a546d38fc8324719cd29aaa493024
post_install() {
vlicense LICENSE-MIT
}
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
}
}