new package
This commit is contained in:
@@ -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())
|
||||
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" ?>
|
||||
<pisi>
|
||||
<Source>
|
||||
<Name>nng</Name>
|
||||
<Homepage>https://nng.nanomsg.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Erkan Işık</Name>
|
||||
<Email>erkanisik@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>MIT</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Nano Messaging Library - modernized nanomsg successor</Summary>
|
||||
<Description>
|
||||
NNG is a high-performance asynchronous messaging library, successor to nanomsg.
|
||||
</Description>
|
||||
<Archive sha1sum="1667a585d4c4046c4854d309d2182baac62d0b94">
|
||||
https://github.com/nanomsg/nng/archive/refs/tags/v1.11.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>nng</Name>
|
||||
<Summary>Nano Messaging Library</Summary>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/libnng*</Path>
|
||||
<Path fileType="library">/usr/lib/cmake</Path>
|
||||
<Path fileType="binary">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>nng-devel</Name>
|
||||
<Summary>Development files for nng</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">nng</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/nng</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2025-12-25</Date>
|
||||
<Version>1.11</Version>
|
||||
<Comment>Initial release.</Comment>
|
||||
<Name>Erkan Işık</Name>
|
||||
<Email>erkanisik@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</pisi>
|
||||
Reference in New Issue
Block a user