void-packages/srcpkgs/nanomsg/template
2017-06-09 15:54:24 -04:00

25 lines
673 B
Bash

# Template file for 'nanomsg'
pkgname=nanomsg
version=1.0.0
revision=2
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="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
}
}