|
root / base / uthash
uthash Plain Text 33 lines 919 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh
# Build script for uthash (header-only, no build system - just stage headers).
# NOTE: headers live under src/, not the tarball root (verified 2026-07-22).
set -e
cd "$SRCDIR/src"

mkdir -p "$PKGDIR$PREFIX/include"
cp -f *.h "$PKGDIR$PREFIX/include/"
# uthash - header-only C hash table / list / array macros (picom build dep)
# https://troydhanson.github.io/uthash/

[package]
name = "uthash"
version = "2.4.0"
release = 1
description = "Header-only C macros for hash tables, lists, arrays and strings"
url = "https://troydhanson.github.io/uthash/"
license = "BSD-1-Clause"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = []
build = []

[[source]]
file = "uthash-2.4.0.tar.gz"
urls = ["https://github.com/troydhanson/uthash/archive/refs/tags/v2.4.0.tar.gz"]
checksum = "387ba027946d7c64e9aa19cc53b2edcd714f8f9dca9fa8e3aaef17e0e8e3d736"

[build]
parallel = true