diff --git a/network/library/nng/actions.py b/network/library/nng/actions.py new file mode 100644 index 0000000000..cd9c8b9531 --- /dev/null +++ b/network/library/nng/actions.py @@ -0,0 +1,29 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +from pisi.actionsapi import cmaketools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + shelltools.makedirs("build") + shelltools.cd("build") + + cmaketools.configure("Ninja \ + no-dev \ + CMAKE_BUILD_TYPE=None \ + CMAKE_INSTALL_PREFIX=/usr \ + BUILD_SHARED_LIBS=ON \ + NNG_ENABLE_TLS=ON \ + NNG_TLS_ENGINE=wolf \ + NNG_ENABLE_DOC=OFF \ + NNG_TESTS=OFF", sourceDir="..") + +def build(): + shelltools.cd("build") + cmaketools.make() + +def install(): + shelltools.cd("build") + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) diff --git a/network/library/nng/pspec.xml b/network/library/nng/pspec.xml new file mode 100644 index 0000000000..73075829c3 --- /dev/null +++ b/network/library/nng/pspec.xml @@ -0,0 +1,56 @@ + + + + nng + https://nng.nanomsg.org + + Erkan Işık + erkanisik@pisilinux.org + + MIT + library + Nano Messaging Library - modernized nanomsg successor + + NNG is a high-performance asynchronous messaging library, successor to nanomsg. + + + https://github.com/nanomsg/nng/archive/refs/tags/v1.11.tar.gz + + + cmake + + + + + nng + Nano Messaging Library + + /usr/lib/libnng* + /usr/lib/cmake + /usr/bin + /usr/share/doc + + + + + nng-devel + Development files for nng + + nng + + + /usr/include/nng + /usr/lib/pkgconfig + + + + + + 2025-12-25 + 1.11 + Initial release. + Erkan Işık + erkanisik@pisilinux.org + + +