Wed Oct 7 12:33:16 2015 UTC ()
This is a hash table, implemented in C, supporting constant-time
add/find/remove of C structures. Any structure having a unique,
arbitrarily-typed key member can be hashed by adding a UT_hash_handle
member to the structure and calling these macros.
(adam)
diff -r0 -r1.1 pkgsrc/devel/uthash/DESCR
diff -r0 -r1.1 pkgsrc/devel/uthash/Makefile
diff -r0 -r1.1 pkgsrc/devel/uthash/PLIST
diff -r0 -r1.1 pkgsrc/devel/uthash/buildlink3.mk
diff -r0 -r1.1 pkgsrc/devel/uthash/distinfo
This is a hash table, implemented in C, supporting constant-time
add/find/remove of C structures. Any structure having a unique,
arbitrarily-typed key member can be hashed by adding a UT_hash_handle
member to the structure and calling these macros.
# $NetBSD: Makefile,v 1.1 2015/10/07 12:33:16 adam Exp $
DISTNAME= uthash-1.9.9
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=troydhanson/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://troydhanson.github.io/uthash/
COMMENT= Hash table, implemented in C
LICENSE= 2-clause-bsd
NO_BUILD= yes
INSTALLATION_DIRS+= include share/doc/uthash
do-install:
${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/uthash
${INSTALL_DATA} ${WRKSRC}/src/*.h ${DESTDIR}${PREFIX}/include
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2015/10/07 12:33:16 adam Exp $
include/utarray.h
include/uthash.h
include/utlist.h
include/utstring.h
share/doc/uthash/ChangeLog.html
share/doc/uthash/ChangeLog.txt
share/doc/uthash/Makefile
share/doc/uthash/banner.png
share/doc/uthash/banner.svg
share/doc/uthash/google315d692c9c632ed0.html
share/doc/uthash/index.html
share/doc/uthash/license.html
share/doc/uthash/rss.png
share/doc/uthash/styles.css
share/doc/uthash/todo.txt
share/doc/uthash/userguide.html
share/doc/uthash/userguide.txt
share/doc/uthash/utarray.html
share/doc/uthash/utarray.txt
share/doc/uthash/uthash-mini.png
share/doc/uthash/uthash-mini.svg
share/doc/uthash/uthash.png
share/doc/uthash/utlist.html
share/doc/uthash/utlist.txt
share/doc/uthash/utstring.html
share/doc/uthash/utstring.txt
# $NetBSD: buildlink3.mk,v 1.1 2015/10/07 12:33:16 adam Exp $
BUILDLINK_TREE+= uthash
.if !defined(UTHASH_BUILDLINK3_MK)
UTHASH_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.uthash+= uthash>=1.9.9
BUILDLINK_PKGSRCDIR.uthash?= ../../devel/uthash
BUILDLINK_DEPMETHOD.uthash?= build
.endif # UTHASH_BUILDLINK3_MK
BUILDLINK_TREE+= -uthash
$NetBSD: distinfo,v 1.1 2015/10/07 12:33:16 adam Exp $
SHA1 (uthash-1.9.9.tar.gz) = 562f583d365ab21dc5dc0963241bea415fd26012
RMD160 (uthash-1.9.9.tar.gz) = 031d5e7655238992595d9996c6c97d8796e79283
Size (uthash-1.9.9.tar.gz) = 225620 bytes