Skip to content

Instantly share code, notes, and snippets.

@adsr
Last active June 8, 2022 01:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adsr/e5e6beb373a427dca9e3093cc31b4cea to your computer and use it in GitHub Desktop.
Save adsr/e5e6beb373a427dca9e3093cc31b4cea to your computer and use it in GitHub Desktop.
NAME="uthash"
VERSION=2.3.0
RELEASE=1
CATEGORY="Libs"
SUMMARY="C macros for hash tables and more"
DESCRIPTION="uthash is a collection of header-only data-structure libraries for
hash maps (uthash), linked lists (utlist), dynamic arrays (utarray), dynamic
ring buffers (utringbuffer), intrusive stacks (utstack), and dynamic strings
(utstring)."
HOMEPAGE="https://troydhanson.github.io/uthash/"
SRC_URI="https://github.com/troydhanson/uthash/archive/refs/tags/v${VERSION}.tar.gz"
ARCH="noarch"
PKG_NAMES="uthash-devel"
src_compile() {
true
}
src_install() {
cd ${S}/src
doinclude uthash.h utlist.h utarray.h utringbuffer.h utstack.h utstring.h
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment