summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorhubertf <hubertf>2003-04-06 13:45:39 +0000
committerhubertf <hubertf>2003-04-06 13:45:39 +0000
commit8d480164ea56fa6f0cf9fff6eac46c2623a7871c (patch)
tree180143aab63e2439d9e7e80e6b947b512c75ba1b /databases
parent0b59a0153c6655653c3a77191399ba832d776e97 (diff)
downloadpkgsrc-8d480164ea56fa6f0cf9fff6eac46c2623a7871c.tar.gz
Import dbh-1.0.14: Library to create disk based Hashtables
Disk based hashes is a method to create multidimensional binary trees on disk. This library permits the extension of database concept to a plethora of electronic data, such as graphic information. With the multidimensional binary tree it is possible to mathematically prove that access time to any particular record is minimized (using the concept of critical points from calculus), which provides the means to construct optimized databases for particular applications. Submitted by benedikt.meurer@unix-ag.uni-siegen.de in pkgsrc-wip
Diffstat (limited to 'databases')
-rw-r--r--databases/dbh/DESCR7
-rw-r--r--databases/dbh/Makefile27
-rw-r--r--databases/dbh/PLIST17
-rw-r--r--databases/dbh/buildlink2.mk28
-rw-r--r--databases/dbh/distinfo5
-rw-r--r--databases/dbh/patches/patch-aa11
6 files changed, 95 insertions, 0 deletions
diff --git a/databases/dbh/DESCR b/databases/dbh/DESCR
new file mode 100644
index 00000000000..98a2c1ea744
--- /dev/null
+++ b/databases/dbh/DESCR
@@ -0,0 +1,7 @@
+Disk based hashes is a method to create multidimensional binary trees on disk.
+This library permits the extension of database concept to a plethora of
+electronic data, such as graphic information. With the multidimensional binary
+tree it is possible to mathematically prove that access time to any
+particular record is minimized (using the concept of critical points from
+calculus), which provides the means to construct optimized databases for
+particular applications.
diff --git a/databases/dbh/Makefile b/databases/dbh/Makefile
new file mode 100644
index 00000000000..3faa13b725c
--- /dev/null
+++ b/databases/dbh/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/04/06 13:45:39 hubertf Exp $
+
+DISTNAME= dbh_1.0-14
+PKGNAME= dbh-1.0.14
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dbh/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= benedikt.meurer@unix-ag.uni-siegen.de
+HOMEPAGE= http://dbh.sourceforge.net/
+COMMENT= Library to create disk based Hashtables
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK2= yes
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+PKGCONFIG_OVERRIDE= ${WRKSRC}/src/dbh-1.0.pc.in
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dbh/
+ cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS COPYING ChangeLog \
+ ${PREFIX}/share/doc/dbh/
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dbh/html/
+ cd ${WRKSRC} && ${INSTALL_DATA} doc/dbh-hash-tables.html \
+ ${PREFIX}/share/doc/dbh/html/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/dbh/PLIST b/databases/dbh/PLIST
new file mode 100644
index 00000000000..9717cbb3649
--- /dev/null
+++ b/databases/dbh/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/06 13:45:39 hubertf Exp $
+include/dbh.h
+include/dbh_config.h
+include/dbh_functions.h
+lib/libdbh-1.0.so
+lib/libdbh-1.0.so.1
+lib/libdbh-1.0.so.1.0
+lib/libdbh.a
+lib/libdbh.la
+lib/libdbh.so
+lib/pkgconfig/dbh-1.0.pc
+share/doc/dbh/AUTHORS
+share/doc/dbh/COPYING
+share/doc/dbh/ChangeLog
+share/doc/dbh/html/dbh-hash-tables.html
+@dirrm share/doc/dbh/html
+@dirrm share/doc/dbh
diff --git a/databases/dbh/buildlink2.mk b/databases/dbh/buildlink2.mk
new file mode 100644
index 00000000000..5a0706d9d78
--- /dev/null
+++ b/databases/dbh/buildlink2.mk
@@ -0,0 +1,28 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/04/06 13:45:39 hubertf Exp $
+#
+# This Makefile fragment is included by packages that use dbh.
+#
+# This file was created automatically using createbuildlink 2.4.
+#
+
+.if !defined(DBH_BUILDLINK2_MK)
+DBH_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= dbh
+BUILDLINK_DEPENDS.dbh?= dbh>=1.0.14
+BUILDLINK_PKGSRCDIR.dbh?= ../../wip/dbh
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.dbh=dbh
+BUILDLINK_PREFIX.dbh_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.dbh+= include/dbh.h
+BUILDLINK_FILES.dbh+= include/dbh_config.h
+BUILDLINK_FILES.dbh+= include/dbh_functions.h
+BUILDLINK_FILES.dbh+= lib/libdbh-1.0.*
+BUILDLINK_FILES.dbh+= lib/libdbh.*
+BUILDLINK_FILES.dbh+= lib/pkgconfig/dbh-1.0.pc
+
+BUILDLINK_TARGETS+= dbh-buildlink
+
+dbh-buildlink: _BUILDLINK_USE
+
+.endif # DBH_BUILDLINK2_MK
diff --git a/databases/dbh/distinfo b/databases/dbh/distinfo
new file mode 100644
index 00000000000..8076b890cc8
--- /dev/null
+++ b/databases/dbh/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/04/06 13:45:39 hubertf Exp $
+
+SHA1 (dbh_1.0-14.tgz) = 93fec5cb5a53bed93c51f222ac59d4179ffbd4b9
+Size (dbh_1.0-14.tgz) = 410289 bytes
+SHA1 (patch-aa) = 84a3465117fbfd59bcc2b816cac89ab078b5f6ae
diff --git a/databases/dbh/patches/patch-aa b/databases/dbh/patches/patch-aa
new file mode 100644
index 00000000000..9b56cef2157
--- /dev/null
+++ b/databases/dbh/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/04/06 13:45:39 hubertf Exp $
+
+--- src/dbh-1.0.pc.in.orig Mon Mar 17 04:08:31 2003
++++ src/dbh-1.0.pc.in
+@@ -7,5 +7,5 @@ Name: dbh
+ Description: Diskbased Hashtables
+ Requires:
+ Version: @DBH_VERSION@
+-Libs: -Wl,-R${libdir} -L${libdir} -ldbh -lm
++Libs: -L${libdir} -ldbh -lm
+ Cflags: -I${includedir}