pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

- initial checking of uthash



Module Name:	pkgsrc-wip
Committed By:	Izaac <izaac%setec.org@localhost>
Pushed By:	izaac
Date:		Fri May 20 16:42:36 2016 -0400
Changeset:	224bbb4e57b690ba2eb918cb3ceab2b311081aa3

Modified Files:
	Makefile
Added Files:
	uthash/DESCR
	uthash/Makefile
	uthash/PLIST
	uthash/buildlink3.mk
	uthash/distinfo

Log Message:
- initial checking of uthash

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=224bbb4e57b690ba2eb918cb3ceab2b311081aa3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |  1 +
 uthash/DESCR         |  4 ++++
 uthash/Makefile      | 22 ++++++++++++++++++++++
 uthash/PLIST         | 27 +++++++++++++++++++++++++++
 uthash/buildlink3.mk | 13 +++++++++++++
 uthash/distinfo      |  5 +++++
 6 files changed, 72 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index fc128c4..2360a34 100644
--- a/Makefile
+++ b/Makefile
@@ -4226,6 +4226,7 @@ SUBDIR+=	urlwatch
 SUBDIR+=	uschedule
 SUBDIR+=	using-mpi
 SUBDIR+=	ussp-push
+SUBDIR+=	uthash
 SUBDIR+=	util-linux
 SUBDIR+=	uzbl
 SUBDIR+=	uzbl-git
diff --git a/uthash/DESCR b/uthash/DESCR
new file mode 100644
index 0000000..0e0bae6
--- /dev/null
+++ b/uthash/DESCR
@@ -0,0 +1,4 @@
+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.
diff --git a/uthash/Makefile b/uthash/Makefile
new file mode 100644
index 0000000..66d31e2
--- /dev/null
+++ b/uthash/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+PKGNAME=		uthash-1.9.9
+CATEGORIES=		devel
+DISTNAME=		${PKGNAME_NOREV}
+MASTER_SITES=		${MASTER_SITE_GITHUB:=troydhanson/}
+GITHUB_PROJECT=		uthash
+GITHUB_TAG=		v${PKGVERSION_NOREV}
+
+MAINTAINER=		izaac%setec.org@localhost
+HOMEPAGE=		http://troydhanson.github.io/uthash/
+COMMENT=		Hash table, implemented in C
+LICENSE=		2-clause-bsd # actually, 1-clause
+
+NO_BUILD=		yes
+INSTALLATION_DIRS+=	include share/doc/uthash
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/src/*.h ${DESTDIR}${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/uthash
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/uthash/PLIST b/uthash/PLIST
new file mode 100644
index 0000000..cd656ea
--- /dev/null
+++ b/uthash/PLIST
@@ -0,0 +1,27 @@
+@comment $NetBSD$
+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
diff --git a/uthash/buildlink3.mk b/uthash/buildlink3.mk
new file mode 100644
index 0000000..f2fc2a6
--- /dev/null
+++ b/uthash/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	uthash
+
+.if !defined(UTHASH_BUILDLINK3_MK)
+UTHASH_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.uthash+=	uthash>=1.9.8
+BUILDLINK_PKGSRCDIR.uthash?=	../../local/uthash
+BUILDLINK_DEPMETHOD.uthash?=	build
+.endif	# UTHASH_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-uthash
diff --git a/uthash/distinfo b/uthash/distinfo
new file mode 100644
index 0000000..8a7025b
--- /dev/null
+++ b/uthash/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+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


Home | Main Index | Thread Index | Old Index