void-packages/srcpkgs/nanomsg/template

28 lines
753 B
Bash

# Template file for 'nanomsg'
pkgname=nanomsg
version=1.1.5
revision=1
build_style=cmake
short_desc='Simple, high-performance implementation of "scalability protocols"'
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
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=218b31ae1534ab897cb5c419973603de9ca1a5f54df2e724ab4a188eb416df5a
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
}
}