1SUMMARY="A hash table for C structures" 2DESCRIPTION="Any C structure can be stored in a hash table using uthash. Just add a \ 3UT_hash_handle to the structure and choose one or more fields in your structure to act as the key. 4Then use these macros to store, retrieve or delete items from the hash table" 5HOMEPAGE="https://github.com/troydhanson/uthash" 6COPYRIGHT="2005-2021, Troy D. Hanson 7 2021 Arthur O'Dwyer" 8LICENSE="BSD (2-clause)" 9REVISION="1" 10SOURCE_URI="$HOMEPAGE/archive/refs/tags/v$portVersion.tar.gz" 11CHECKSUM_SHA256="e10382ab75518bad8319eb922ad04f907cb20cccb451a3aa980c9d005e661acc" 12SOURCE_FILENAME="uthash-v$portVersion.tar.gz" 13PATCHES="uthash-$portVersion.patchset" 14 15ARCHITECTURES="any" 16 17PROVIDES=" 18 uthash = $portVersion 19 devel:uthash = $portVersion 20 " 21 22BUILD_PREREQUIRES=" 23 cmd:asciidoc 24 cmd:make 25 " 26 27BUILD() 28{ 29 make -C doc 30} 31 32INSTALL() 33{ 34 mkdir -p $docDir/html 35 mkdir -p $includeDir 36 37 cp -a src/*.h $includeDir 38 cp -R doc/*.txt $docDir 39 cp -R doc/*.html doc/*.css doc/*.png $docDir/html 40} 41 42TEST() 43{ 44 make check 45} 46