diff --git a/programming/library/uthash/actions.py b/programming/library/uthash/actions.py new file mode 100644 index 0000000000..db671ca62d --- /dev/null +++ b/programming/library/uthash/actions.py @@ -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) + diff --git a/programming/library/uthash/pspec.xml b/programming/library/uthash/pspec.xml new file mode 100644 index 0000000000..77b6753582 --- /dev/null +++ b/programming/library/uthash/pspec.xml @@ -0,0 +1,43 @@ + + + + + uthash + http://troydhanson.github.io/uthash/ + + fury + uglyside@yandex.ru + + BSD-2 + library + programming.library + A hash table for C structures. + 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. + + https://github.com/troydhanson/uthash/archive/refs/tags/v2.3.0.tar.gz + + + + + + + + uthash + + + + + /usr/include + + + + + + 2022-04-14 + 2.3.0 + First build. + fury + uglyside@tuta.io + + +