From 0ba6e2cd2f1e253dc9e8199fdca220617448e0e7 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Sat, 16 Apr 2022 02:33:57 +0300 Subject: [PATCH] uthash. --- programming/library/uthash/actions.py | 22 ++++++++++++++ programming/library/uthash/pspec.xml | 43 +++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 programming/library/uthash/actions.py create mode 100644 programming/library/uthash/pspec.xml 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 + + +