void-packages/srcpkgs/nanomsg/template

26 lines
673 B
Bash
Raw Normal View History

# Template file for 'nanomsg'
pkgname=nanomsg
version=1.0.0
2017-06-09 19:53:22 +00:00
revision=2
short_desc='Simple, high-performance implementation of "scalability protocols"'
homepage='http://nanomsg.org/'
license="MIT"
build_style=cmake
2017-06-09 19:53:22 +00:00
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
distfiles="https://github.com/nanomsg/nanomsg/archive/$version.tar.gz>nanomsg-${version}.tar.gz"
checksum="24afdeb71b2e362e8a003a7ecc906e1b84fd9f56ce15ec567481d1bb33132cc7"
post_install() {
vlicense COPYING
}
nanomsg-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}