void-packages/srcpkgs/nanomsg/template

28 lines
752 B
Bash

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