This commit is contained in:
4fury-c3440d8
2022-04-16 02:33:57 +03:00
parent cfb924ef33
commit 0ba6e2cd2f
2 changed files with 65 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools, autotools, pisitools
def setup():
pass
def build():
pass
def check():
autotools.make("-C tests")
autotools.make("-C tests/threads")
def install():
for t in shelltools.ls("src/*"):
pisitools.insinto("/usr/include", "%s" % t)
+43
View File
@@ -0,0 +1,43 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>uthash</Name>
<Homepage>http://troydhanson.github.io/uthash/</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>BSD-2</License>
<IsA>library</IsA>
<PartOf>programming.library</PartOf>
<Summary>A hash table for C structures.</Summary>
<Description>Any C structure can be stored in a hash table using uthash. Just add a UT_hash_handle to the structure and choose one or more fields in your structure to act as the key. Then use these macros to store, retrieve or delete items from the hash table.</Description>
<Archive sha1sum="fbafa356359ace80787ce6634d84425b40d90907" type="targz">
https://github.com/troydhanson/uthash/archive/refs/tags/v2.3.0.tar.gz
</Archive>
<BuildDependencies>
<!-- <Dependency></Dependency> -->
</BuildDependencies>
</Source>
<Package>
<Name>uthash</Name>
<RuntimeDependencies>
<!-- <Dependency></Dependency> -->
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-04-14</Date>
<Version>2.3.0</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@tuta.io</Email>
</Update>
</History>
</PISI>