summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2013-07-02 11:22:21 +0000
committerrodent <rodent@pkgsrc.org>2013-07-02 11:22:21 +0000
commit6e4ef1f7e7b738edce5bfddd50c278a5b62dbbb1 (patch)
tree668f4e764a570e6ceeefcff6e9194e522a4e3750 /textproc
parentb5555984c7a767a230efe0056c06a2b72b3f378a (diff)
downloadpkgsrc-6e4ef1f7e7b738edce5bfddd50c278a5b62dbbb1.tar.gz
Import cityhash-1.1.1 as textproc/cityhash.
CityHash provides hash functions for strings. The functions mix the input bits thoroughly but are not suitable for cryptography.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/cityhash/DESCR2
-rw-r--r--textproc/cityhash/Makefile17
-rw-r--r--textproc/cityhash/PLIST6
-rw-r--r--textproc/cityhash/buildlink3.mk12
-rw-r--r--textproc/cityhash/distinfo5
5 files changed, 42 insertions, 0 deletions
diff --git a/textproc/cityhash/DESCR b/textproc/cityhash/DESCR
new file mode 100644
index 00000000000..9691b845ac2
--- /dev/null
+++ b/textproc/cityhash/DESCR
@@ -0,0 +1,2 @@
+CityHash provides hash functions for strings. The functions mix the input bits
+thoroughly but are not suitable for cryptography.
diff --git a/textproc/cityhash/Makefile b/textproc/cityhash/Makefile
new file mode 100644
index 00000000000..62ab00be3c1
--- /dev/null
+++ b/textproc/cityhash/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2013/07/02 11:22:21 rodent Exp $
+#
+
+DISTNAME= cityhash-1.1.1
+CATEGORIES= textproc
+MASTER_SITES= http://cityhash.googlecode.com/files/
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= https://code.google.com/p/cityhash/
+COMMENT= Provides hash functions for strings
+LICENSE= mit
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/cityhash/PLIST b/textproc/cityhash/PLIST
new file mode 100644
index 00000000000..4e29e52a38a
--- /dev/null
+++ b/textproc/cityhash/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2013/07/02 11:22:21 rodent Exp $
+include/city.h
+lib/libcityhash.la
+share/doc/cityhash/COPYING
+share/doc/cityhash/NEWS
+share/doc/cityhash/README
diff --git a/textproc/cityhash/buildlink3.mk b/textproc/cityhash/buildlink3.mk
new file mode 100644
index 00000000000..d4fc0fa5b1e
--- /dev/null
+++ b/textproc/cityhash/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/07/02 11:22:21 rodent Exp $
+
+BUILDLINK_TREE+= cityhash
+
+.if !defined(CITYHASH_BUILDLINK3_MK)
+CITYHASH_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.cityhash+= cityhash>=1.1.0
+BUILDLINK_PKGSRCDIR.cityhash?= ../../textproc/cityhash
+.endif # CITYHASH_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -cityhash
diff --git a/textproc/cityhash/distinfo b/textproc/cityhash/distinfo
new file mode 100644
index 00000000000..543d14c0055
--- /dev/null
+++ b/textproc/cityhash/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/07/02 11:22:21 rodent Exp $
+
+SHA1 (cityhash-1.1.1.tar.gz) = 74342b9161bc762e4c14627a9281bef2d3cb5eed
+RMD160 (cityhash-1.1.1.tar.gz) = bac8c85686a8153afcc1defd3c93021b1da56f40
+Size (cityhash-1.1.1.tar.gz) = 376456 bytes