pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
uthash: Import as wip/uthash.
Module Name: pkgsrc-wip
Committed By: ng0 <ng0%n0.is@localhost>
Pushed By: ng0
Date: Wed May 1 12:32:35 2019 +0000
Changeset: 6925eeb902bc1695345d0e5543abad0f88d397f5
Modified Files:
Makefile
Added Files:
uthash/DESCR
uthash/Makefile
uthash/PLIST
uthash/buildlink3.mk
uthash/distinfo
Log Message:
uthash: Import as wip/uthash.
Update to uthash-2.1.0.
No Changelog.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6925eeb902bc1695345d0e5543abad0f88d397f5
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 | 21 +++++++++++++++++++++
uthash/PLIST | 25 +++++++++++++++++++++++++
uthash/buildlink3.mk | 13 +++++++++++++
uthash/distinfo | 6 ++++++
6 files changed, 70 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 3676fc06da..ce71cfbcfd 100644
--- a/Makefile
+++ b/Makefile
@@ -4789,6 +4789,7 @@ SUBDIR+= usbmuxd
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 0000000000..0e0bae6d6e
--- /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 0000000000..63b541bbd4
--- /dev/null
+++ b/uthash/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2015/10/07 12:33:16 adam Exp $
+
+DISTNAME= uthash-2.1.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=troydhanson/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+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:
+ cd ${WRKSRC}/doc && ${MAKE_PROGRAM:Q}
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/uthash
+ ${INSTALL_DATA} ${WRKSRC}/src/*.h ${DESTDIR}${PREFIX}/include
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/uthash/PLIST b/uthash/PLIST
new file mode 100644
index 0000000000..545da8c0f2
--- /dev/null
+++ b/uthash/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD$
+include/utarray.h
+include/uthash.h
+include/utlist.h
+include/utringbuffer.h
+include/utstack.h
+include/utstring.h
+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/userguide.txt
+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.txt
+share/doc/uthash/utringbuffer.txt
+share/doc/uthash/utstack.txt
+share/doc/uthash/utstring.txt
diff --git a/uthash/buildlink3.mk b/uthash/buildlink3.mk
new file mode 100644
index 0000000000..137b458a2c
--- /dev/null
+++ b/uthash/buildlink3.mk
@@ -0,0 +1,13 @@
+# $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
diff --git a/uthash/distinfo b/uthash/distinfo
new file mode 100644
index 0000000000..276051cc3f
--- /dev/null
+++ b/uthash/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.2 2015/11/03 03:29:38 agc Exp $
+
+SHA1 (uthash-2.1.0.tar.gz) = 8f287a2dcf38218c3180d122e10039e23fe8e4b8
+RMD160 (uthash-2.1.0.tar.gz) = d0f9bdab55b8a5ed549858ce1921b431a22aca12
+SHA512 (uthash-2.1.0.tar.gz) = c8005113a48ec7636715ecec0286a5d9086971a7267947aba9e0ad031b6113a4f38a1fb512d33d6fefb5891635fdd31169ce4d6ab04b938bda612ebbccb3eda0
+Size (uthash-2.1.0.tar.gz) = 191782 bytes
Home |
Main Index |
Thread Index |
Old Index