void-packages/srcpkgs/nanomsg/template

26 lines
671 B
Bash

# Template file for 'nanomsg'
pkgname=nanomsg
version=1.1.0
revision=1
short_desc='Simple, high-performance implementation of "scalability protocols"'
homepage='http://nanomsg.org/'
license="MIT"
build_style=cmake
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
distfiles="https://github.com/nanomsg/nanomsg/archive/$version.tar.gz>nanomsg-${version}.tar.gz"
checksum=e81b79e073f5388a5070623136c7896244f8bbc24fd5f5255da8d5aa2e2a50e3
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
}
}