libnftnl new package

This commit is contained in:
Rmys
2023-01-13 21:09:43 +03:00
parent 041973778d
commit a9736c3174
7 changed files with 291 additions and 34 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure()
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING")
+61
View File
@@ -0,0 +1,61 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libnftnl</Name>
<Homepage>https://netfilter.org/projects/libnftnl/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>Netfilter library providing interface to the nf_tables subsystem</Summary>
<Description>nf_tables alt sistemine arayüz sağlayan Netfilter kitaplığı</Description>
<Archive sha1sum="a0643322bbfdc7c0abb882af329532823a284c70" type="tarbz2">https://netfilter.org/projects/libnftnl/files/libnftnl-1.2.4.tar.bz2</Archive>
<BuildDependencies>
<Dependency>libmnl-devel</Dependency>
</BuildDependencies>
-->
<!--
<Patches>
<Patch>libnftnl.patch</Patch>
<Patch level="1">libnftnl.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>libnftnl</Name>
<RuntimeDependencies>
<Dependency>libmnl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libnftnl-devel</Name>
<Summary>Development files for libnftnl</Summary>
<RuntimeDependencies>
<Dependency>libmnl-devel</Dependency>
<Dependency release="current">libnftnl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-01-13</Date>
<Version>1.2.4</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libnftnl</Name>
<Summary xml:lang="tr">Netfilter library providing interface to the nf_tables subsystem</Summary>
<Description xml:lang="tr">nf_tables alt sistemine arayüz sağlayan Netfilter kitaplığı</Description>
</Source>
</PISI>