libnet:moved from contrib

This commit is contained in:
blue-devil
2020-06-10 01:24:16 +03:00
parent 7a919e3df1
commit 9bdf01f3f6
3 changed files with 89 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
autotools.autoreconf("-vfi")
autotools.configure("--disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("LICENSE")
+55
View File
@@ -0,0 +1,55 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libnet</Name>
<Homepage>https://github.com/libnet/libnet</Homepage>
<Packager>
<Name>Blue DeviL</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>network.misc</PartOf>
<License>BSD</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>Low level network library</Summary>
<Description>libnet is a library to provide an API for commonly used low-level network functions.</Description>
<Archive sha1sum="83b98359b99f35f4bd1a7e66f42a6ffe1d099eca" type="targz">https://github.com/libnet/libnet/archive/v1.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>doxygen</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libnet</Name>
<Summary>Low level network library</Summary>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<Package>
<Name>libnet-devel</Name>
<Summary>Development files for libnet</Summary>
<RuntimeDependencies>
<Dependency release="current">libnet</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2019-11-29</Date>
<Version>1.2</Version>
<Comment>Version bump, moved from contrib.</Comment>
<Name>Blue DeviL</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libnet</Name>
<Summary xml:lang="tr">Alt seviye ağ kitaplığı</Summary>
<Description xml:lang="tr">libnet sık kullanılan alt seviye ağ işlevleri için arabirim sunan bir kitaplıktır.</Description>
</Source>
<Package>
<Name>libnet-devel</Name>
<Summary xml:lang="tr">libnet için geliştirme dosyaları</Summary>
<Description xml:lang="tr">libnet-devel, libnet için geliştirme dosyalarını içerir.</Description>
</Package>
</PISI>