void-packages/srcpkgs/rabbitmq-c/template

31 lines
764 B
Bash

# Template file for 'rabbitmq-c'
pkgname=rabbitmq-c
version=0.13.0
revision=4
build_style=cmake
make_check_target=test
hostmakedepends="popt xmlto doxygen"
makedepends="openssl-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/rabbitmq-c/archive/v${version}.tar.gz"
checksum=8b224e41bba504fc52b02f918d8df7e4bf5359d493cbbff36c06078655c676e6
post_install() {
vlicense LICENSE
}
rabbitmq-c-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}