add c-ares moved from contrib need for games

This commit is contained in:
groni
2018-04-24 23:12:51 +02:00
parent 9f52bf3736
commit 06a7198b93
3 changed files with 123 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
shelltools.export("CXXFLAGS", get.CXXFLAGS().replace("-D_FORTIFY_SOURCE=2", ""))
shelltools.export("CFLAGS", get.CFLAGS().replace("-D_FORTIFY_SOURCE=2", ""))
autotools.configure("--enable-shared \
--disable-static")
def build():
autotools.make()
def install():
autotools.install()
pisitools.dodoc("AUTHORS", "README*", "NEWS", "CHANGES", "RELEASE-NOTES", "TODO", "*.pdf")
+78
View File
@@ -0,0 +1,78 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>c-ares</Name>
<Homepage>http://daniel.haxx.se/projects/c-ares/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>as-is</License>
<IsA>library</IsA>
<Summary>A C library that performs DNS requests and name resolves asynchronously</Summary>
<Description>c-ares is a C library that performs DNS requests and name resolves asynchronously. c-ares is a fork of the library named 'ares', written by Greg Hudson at MIT.</Description>
<Archive sha1sum="8c20b2680099ac73861a780c731edd59e010383a" type="targz">http://c-ares.haxx.se/download/c-ares-1.11.0.tar.gz</Archive>
</Source>
<Package>
<Name>c-ares</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc/c-ares/NEWS</Path>
<Path fileType="doc">/usr/share/doc/c-ares/CHANGES</Path>
<Path fileType="doc">/usr/share/doc/c-ares/README*</Path>
<Path fileType="doc">/usr/share/doc/c-ares/RELEASE-NOTES</Path>
<Path fileType="doc">/usr/share/doc/c-ares/TODO</Path>
</Files>
</Package>
<Package>
<Name>c-ares-devel</Name>
<Summary>Development files for c-ares</Summary>
<RuntimeDependencies>
<Dependency release="current">c-ares</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<Package>
<Name>c-ares-docs</Name>
<Summary>Documentation files for c-ares</Summary>
<RuntimeDependencies>
<Dependency release="current">c-ares</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc/c-ares/</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2016-03-14</Date>
<Version>1.11.0</Version>
<Comment>Version bump, rebuilt with docker</Comment>
<Name>İbrahim KARAGÜZEL</Name>
<Email>karaguzelibrahim@gmail.com</Email>
</Update>
<Update release="2">
<Date>2014-02-17</Date>
<Version>1.9.1</Version>
<Comment>Release</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-09-01</Date>
<Version>1.9.1</Version>
<Comment>First release</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
</History>
</PISI>
+21
View File
@@ -0,0 +1,21 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>c-ares</Name>
<Summary xml:lang="tr">Eşzamansız DNS sorgulamaları ve isim çözme işlemleri için bir C kitaplığı</Summary>
<Description xml:lang="tr">Eşzamansız DNS sorgulamaları ve isim çözme işlemleri için bir C kitaplığı. c-ares, ares kitaplığı temel alınarak geliştirilmiştir.</Description>
<Description xml:lang="fr">c-ares est une librairie qui effectue des requête DNS et les résolutions de nom de manière asynchrone. c-ares est issue d'un schisme de la librairie 'ares' écrite par Greg Hudson au MIT.</Description>
<Description xml:lang="es">c-ares es una librería C que realiza consultas DNS y resolución asíncron de nombres. c-ares es un derivado (fork) de la librería 'ares', escrito por Greg Hudson en el MIT.</Description>
</Source>
<Package>
<Name>c-ares-devel</Name>
<Summary xml:lang="tr">c-ares için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>c-ares-docs</Name>
<Summary xml:lang="tr">c-ares için belgelendirme dosyaları</Summary>
</Package>
</PISI>