http-parser:new release

This commit is contained in:
blue-devil
2020-02-09 01:14:01 +03:00
parent 6e22f48b7b
commit e9dc587139
4 changed files with 87 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/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 mesontools
from pisi.actionsapi import pisitools
def setup():
mesontools.configure()
def build():
mesontools.build()
def check():
mesontools.build("test")
def install():
mesontools.install()
pisitools.dodoc("LICENSE*", "README*")
@@ -0,0 +1,14 @@
project('http-parser', 'c', version : '2.9.3')
install_headers('http_parser.h')
foreach x : [['http_parser', ['-DHTTP_PARSER_STRICT=0']],
['http_parser_strict', ['-DHTTP_PARSER_STRICT=1']]]
lib = library(x.get(0), 'http_parser.c',
c_args : x.get(1),
version : '2.9.3',
install : true)
test('test-@0@'.format(x.get(0)),
executable('test-@0@'.format(x.get(0)), 'test.c',
c_args : x.get(1),
link_with : lib),
timeout : 60)
endforeach
+44
View File
@@ -0,0 +1,44 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>http-parser</Name>
<Homepage>https://github.com/nodejs/http-parser</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>programming.misc</PartOf>
<License>MIT</License>
<IsA>library</IsA>
<Summary>A http request/response parser for c.</Summary>
<Description>This is a parser for HTTP messages written in C. It parses both requests and responses. The parser is designed to be used in performance HTTP applications. It does not make any syscalls nor allocations, it does not buffer data, it can be interrupted at anytime.</Description>
<Archive sha1sum="3861fc1f93865c0d045ab6d70ca625437b669b3c" type="targz">https://github.com/nodejs/http-parser/archive/v2.9.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>meson</Dependency>
</BuildDependencies>
<AdditionalFiles>
<AdditionalFile target="meson.build" permission="0755">meson.build</AdditionalFile>
</AdditionalFiles>
</Source>
<Package>
<Name>http-parser</Name>
<Summary>A http request/response parser for c.</Summary>
<Files>
<Path fileType="doc">/usr/share/doc/http-parser</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-02-08</Date>
<Version>2.9.3</Version>
<Comment>First pisi release.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>http-parser</Name>
<Summary xml:lang="tr">C için HTTP istek/yanıt çözümleyicisi</Summary>
<Description xml:lang="tr">HTTP mesajları için C ile yazılmış bu kitaplık, HTTP istek ve yanıtlarını çözümleyen bir C kitaplığıdır.</Description>
</Source>
</PISI>