miniupnpc.

This commit is contained in:
4fury-c3440d8
2022-11-10 14:07:23 +03:00
parent 921881d85b
commit 2e72c1ad35
2 changed files with 18 additions and 6 deletions
+8 -3
View File
@@ -9,10 +9,15 @@ from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
j = ''.join([
' -DCMAKE_BUILD_TYPE=Release',
' -DCMAKE_INSTALL_PREFIX=/usr',
' -DUPNPC_BUILD_STATIC=OFF',
' -Bbuild -L '
])
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure('-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -L', sourceDir = '..')
cmaketools.configure(j)
def build():
pythonmodules.compile(pyVer = '3')
+10 -3
View File
@@ -12,15 +12,15 @@
<IsA>library</IsA>
<Summary>miniupnpc is a UPnP Control Point.</Summary>
<Description>miniupnpc, the client library, enabling applications to access the services provided by an UPnP "Internet Gateway Device" present on the network. In UPnP terminology,miniupnpc is a UPnP Control Point.</Description>
<Archive sha1sum="0806a7524b9436b5875acd1c0f040b717ddf9d14" type="targz">http://miniupnp.free.fr/files/miniupnpc-2.2.3.tar.gz</Archive>
<Archive sha1sum="1d76b3d7eb3a398207469a627dd3976f6b5ddf15" type="targz">http://miniupnp.free.fr/files/miniupnpc-2.2.4.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">fix_install_for_headers.patch</Patch>
<Patch level="1">fix_install_rules_to_account_for_BUILD_var.patch</Patch>
<!-- <Patch level="1">fix_install_for_headers.patch</Patch> -->
<!-- <Patch level="1">fix_install_rules_to_account_for_BUILD_var.patch</Patch> -->
</Patches>
</Source>
@@ -58,6 +58,13 @@
</Package>
<History>
<Update release="5">
<Date>2022-11-10</Date>
<Version>2.2.4</Version>
<Comment>Version bump.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2022-04-16</Date>
<Version>2.2.3</Version>