New package: nng-1.5.2
This commit is contained in:
parent
3c1d8bc63e
commit
a98998eb88
|
@ -4526,3 +4526,4 @@ libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
|
|||
libbox2d.so.2 box2d-2.4.1_1
|
||||
libhwy.so.1 highway-1.2.0_1
|
||||
libscenefx.so.1 scenefx-0.1_1
|
||||
libnng.so.1 nng-1.5.2_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
nng
|
|
@ -0,0 +1,34 @@
|
|||
# Template file for 'nng'
|
||||
pkgname=nng
|
||||
version=1.5.2
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_SHARED_LIBS=on"
|
||||
short_desc="Nanomsg next-generation"
|
||||
maintainer="Adam Gausmann <adam@gaussian.dev>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/nanomsg/nng"
|
||||
changelog="https://github.com/nanomsg/nng/releases"
|
||||
distfiles="https://github.com/nanomsg/nng/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=f8b25ab86738864b1f2e3128e8badab581510fa8085ff5ca9bb980d317334c46
|
||||
|
||||
do_check() {
|
||||
# nng.platform.resolver_test passes on host machine,
|
||||
# but fails in void-packages chroot
|
||||
cd ${cmake_builddir:=build}
|
||||
ctest -E 'nng\.platform\.resolver_test'
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt
|
||||
}
|
||||
|
||||
nng-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove "usr/include"
|
||||
vmove "usr/lib/cmake"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue