diff options
author | minskim <minskim@pkgsrc.org> | 2005-10-23 19:01:56 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-10-23 19:01:56 +0000 |
commit | edf1e070e80721dd89be52c4eddb48b7542bfd14 (patch) | |
tree | 99679c25986ab6b0f02c2f33b5834abdbc0ca9ac /databases/qdbm | |
parent | 6135a0a5033d8bd919b7bc35f5e341ba24757832 (diff) | |
download | pkgsrc-edf1e070e80721dd89be52c4eddb48b7542bfd14.tar.gz |
Import qdbm from pkgsrc-wip. Packaged by OBATA Akio.
QDBM is an embeded database library compatible with GDBM and NDBM. It
features hash database and B+ tree database and is developed referring
to GDBM for the purpose of the following three points: higher
processing speed, smaller size of a database file, and simpler API.
This package includes APIs for C, C++, and Java. CGI scripts are also
contained. APIs for Perl and Ruby should be installed with a source
package.
Diffstat (limited to 'databases/qdbm')
-rw-r--r-- | databases/qdbm/DESCR | 7 | ||||
-rw-r--r-- | databases/qdbm/Makefile | 33 | ||||
-rw-r--r-- | databases/qdbm/PLIST | 70 | ||||
-rw-r--r-- | databases/qdbm/buildlink3.mk | 22 | ||||
-rw-r--r-- | databases/qdbm/distinfo | 6 | ||||
-rw-r--r-- | databases/qdbm/patches/patch-aa | 29 |
6 files changed, 167 insertions, 0 deletions
diff --git a/databases/qdbm/DESCR b/databases/qdbm/DESCR new file mode 100644 index 00000000000..1747dd6b036 --- /dev/null +++ b/databases/qdbm/DESCR @@ -0,0 +1,7 @@ +QDBM is an embeded database library compatible with GDBM and NDBM. It +features hash database and B+ tree database and is developed referring +to GDBM for the purpose of the following three points: higher +processing speed, smaller size of a database file, and simpler API. +This package includes APIs for C, C++, and Java. CGI scripts are also +contained. APIs for Perl and Ruby should be installed with a source +package. diff --git a/databases/qdbm/Makefile b/databases/qdbm/Makefile new file mode 100644 index 00000000000..7c6eaca19d2 --- /dev/null +++ b/databases/qdbm/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/10/23 19:01:56 minskim Exp $ +# + +DISTNAME= qdbm-1.8.33 +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qdbm/} + +MAINTAINER= obata@lins.jp +HOMEPAGE= http://qdbm.sourceforge.net/ +COMMENT= Quick Database Manager - library of routines for managing a db + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --enable-zlib +CONFIGURE_ARGS+= --enable-iconv +PKGCONFIG_OVERRIDE= qdbm.pc.in +TEST_TARGET= check + +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none" +CONFIGURE_ARGS+= --without-pthread +.else +CONFIGURE_ARGS+= --enable-pthread +CONFIGURE_ENV+= CFLAGS=${PTHREAD_CFLAGS:Q} +CONFIGURE_ENV+= LDFLAGS=${PTHREAD_LDFLAGS:Q} +SUBST_CLASSES+= pthread +SUBST_STAGE.pthread= pre-configure +SUBST_FILES.pthread= configure +SUBST_SED.pthread= -e 's|-lpthread|${PTHREAD_LIBS}|' +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/databases/qdbm/PLIST b/databases/qdbm/PLIST new file mode 100644 index 00000000000..dcd17d998a0 --- /dev/null +++ b/databases/qdbm/PLIST @@ -0,0 +1,70 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/23 19:01:56 minskim Exp $ +bin/dpmgr +bin/dptest +bin/dptsv +bin/crmgr +bin/crtest +bin/crtsv +bin/rlmgr +bin/rltest +bin/hvmgr +bin/hvtest +bin/cbtest +bin/cbcodec +bin/vlmgr +bin/vltest +bin/vltsv +bin/odmgr +bin/odtest +bin/odidx +include/depot.h +include/curia.h +include/relic.h +include/hovel.h +include/cabin.h +include/villa.h +include/vista.h +include/odeum.h +lib/libqdbm.a +lib/libqdbm.so +lib/libqdbm.so.11 +lib/libqdbm.so.11.5.0 +lib/pkgconfig/qdbm.pc +man/man1/dpmgr.1 +man/man1/dptest.1 +man/man1/dptsv.1 +man/man1/crmgr.1 +man/man1/crtest.1 +man/man1/crtsv.1 +man/man1/rlmgr.1 +man/man1/rltest.1 +man/man1/hvmgr.1 +man/man1/hvtest.1 +man/man1/cbtest.1 +man/man1/cbcodec.1 +man/man1/vlmgr.1 +man/man1/vltest.1 +man/man1/vltsv.1 +man/man1/odmgr.1 +man/man1/odtest.1 +man/man1/odidx.1 +man/man3/qdbm.3 +man/man3/depot.3 +man/man3/dpopen.3 +man/man3/curia.3 +man/man3/cropen.3 +man/man3/relic.3 +man/man3/hovel.3 +man/man3/cabin.3 +man/man3/villa.3 +man/man3/vlopen.3 +man/man3/vista.3 +man/man3/odeum.3 +man/man3/odopen.3 +share/doc/qdbm/spex.html +share/doc/qdbm/spex-ja.html +share/doc/qdbm/COPYING +share/doc/qdbm/ChangeLog +share/doc/qdbm/NEWS +share/doc/qdbm/THANKS +@dirrm share/doc/qdbm diff --git a/databases/qdbm/buildlink3.mk b/databases/qdbm/buildlink3.mk new file mode 100644 index 00000000000..1221d1f5cf4 --- /dev/null +++ b/databases/qdbm/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/10/23 19:01:56 minskim Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +QDBM_BUILDLINK3_MK:= ${QDBM_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= qdbm +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqdbm} +BUILDLINK_PACKAGES+= qdbm + +.if !empty(QDBM_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.qdbm+= qdbm>=1.8.33 +BUILDLINK_PKGSRCDIR.qdbm?= ../../databases/qdbm +.endif # QDBM_BUILDLINK3_MK + +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/databases/qdbm/distinfo b/databases/qdbm/distinfo new file mode 100644 index 00000000000..4634117abc3 --- /dev/null +++ b/databases/qdbm/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/10/23 19:01:56 minskim Exp $ + +SHA1 (qdbm-1.8.33.tar.gz) = cac04ceb3b10b024cd3d34af4984643247e54141 +RMD160 (qdbm-1.8.33.tar.gz) = 28f74519675ed711132e8d0556b0520c56abef4c +Size (qdbm-1.8.33.tar.gz) = 863217 bytes +SHA1 (patch-aa) = 80512f7eab71eba068c84bb227c2c2306f6ce309 diff --git a/databases/qdbm/patches/patch-aa b/databases/qdbm/patches/patch-aa new file mode 100644 index 00000000000..e2c4a10f2c5 --- /dev/null +++ b/databases/qdbm/patches/patch-aa @@ -0,0 +1,29 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/10/23 19:01:56 minskim Exp $ + +--- Makefile.in.orig 2005-09-01 04:19:56.000000000 +0900 ++++ Makefile.in +@@ -45,13 +45,13 @@ MYLIBDIR = @libdir@ + MYBINDIR = @bindir@ + MYMAN1DIR = @mandir@/man1 + MYMAN3DIR = @mandir@/man3 +-MYDATADIR = @datadir@/$(PACKAGE) ++MYDATADIR = @datadir@/doc/$(PACKAGE) + MYPCDIR = @libdir@/pkgconfig + DESTDIR = + + # Building binaries + CC = @CC@ +-RELCFLAGS = -O2 -fomit-frame-pointer -DNDEBUG ++RELCFLAGS = $(PTHREAD_CFLAGS) -O2 -fomit-frame-pointer -DNDEBUG + CPPFLAGS = -I$(srcdir) -I$(HOME)/include -I/usr/local/include @MYDEFS@ \ + -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 \ + -D_POSIX_MAPPED_FILES=1 -D_POSIX_SYNCHRONIZED_IO=1 \ +@@ -59,7 +59,7 @@ CPPFLAGS = -I$(srcdir) -I$(HOME)/include + CFLAGS = -Wall -ansi -pedantic -fPIC -fsigned-char $(RELCFLAGS) + LD = @LD@ + LIBS = -lqdbm @LIBS@ +-LIBLDFLAGS = -L. -L$(HOME)/lib -L/usr/local/lib @LIBS@ ++LIBLDFLAGS = $(PTHREAD_LDFLAGS) -L. -L$(HOME)/lib -L/usr/local/lib @LIBS@ + LDFLAGS = -L. -L$(HOME)/lib -L/usr/local/lib $(LIBS) + LDENV = LD_RUN_PATH=/lib:/usr/lib:$(HOME)/lib:/usr/local/lib:$(MYLIBDIR) + AR = @AR@ |