void-packages/srcpkgs/nanomsg/template
2017-11-10 16:19:04 -05:00

25 lines
671 B
Bash

# Template file for 'nanomsg'
pkgname=nanomsg
version=1.1.2
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=3c52165a735c2fb597d2306593ae4b17900688b90113d4115ad8480288f28ccb
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
}
}