diff options
author | wiz <wiz@pkgsrc.org> | 2002-07-04 20:03:29 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-07-04 20:03:29 +0000 |
commit | 8507b7648d1b474a80cef589aaba12e0033c81ab (patch) | |
tree | c4e8a9e88fc28614d8fe6561c0ef67e8bd1c4c5d /databases | |
parent | 9e56b4413a951057ce4e497d800fded74e3e3f5e (diff) | |
download | pkgsrc-8507b7648d1b474a80cef589aaba12e0033c81ab.tar.gz |
Initial import of gdbm_primitive:
A collection of small binaries to access and modify GDBM databases.
Supplied by Ola Eriksson in pkg/15521, with buildlinking and some
cleanup by me.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/gdbm_primitive/DESCR | 1 | ||||
-rw-r--r-- | databases/gdbm_primitive/Makefile | 19 | ||||
-rw-r--r-- | databases/gdbm_primitive/PLIST | 22 | ||||
-rw-r--r-- | databases/gdbm_primitive/distinfo | 5 | ||||
-rw-r--r-- | databases/gdbm_primitive/patches/patch-aa | 27 |
5 files changed, 74 insertions, 0 deletions
diff --git a/databases/gdbm_primitive/DESCR b/databases/gdbm_primitive/DESCR new file mode 100644 index 00000000000..58277b55bb0 --- /dev/null +++ b/databases/gdbm_primitive/DESCR @@ -0,0 +1 @@ +A collection of small binaries to access and modify GDBM databases. diff --git a/databases/gdbm_primitive/Makefile b/databases/gdbm_primitive/Makefile new file mode 100644 index 00000000000..ff604040eeb --- /dev/null +++ b/databases/gdbm_primitive/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/07/04 20:03:29 wiz Exp $ +# + +DISTNAME= gdbm-prim-1.15 +PKGNAME= ${DISTNAME:S/-prim/_primitive/} +CATEGORIES= databases +MASTER_SITES= http://homepage.mac.com/leffert/.cv/leffert/Public/ +EXTRACT_SUFX= .tar.gz-link.gz + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://homepage.mac.com/leffert/FileSharing.html +COMMENT= Shell primitives for working with GDBMs + +EXTRACT_CMD= ${_DFLT_EXTRACT_CMD} +USE_BUILDLINK_ONLY= YES +WRKSRC= ${WRKDIR}/${PKGNAME} + +.include "../../databases/gdbm/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/gdbm_primitive/PLIST b/databases/gdbm_primitive/PLIST new file mode 100644 index 00000000000..ccd7f31e448 --- /dev/null +++ b/databases/gdbm_primitive/PLIST @@ -0,0 +1,22 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/04 20:03:29 wiz Exp $ +bin/gdbm-clear +bin/gdbm-create +bin/gdbm-dump +bin/gdbm-exists +bin/gdbm-get +bin/gdbm-keys +bin/gdbm-load +bin/gdbm-put +bin/gdbm-remove +bin/gdbm-revget +man/man1/gdbm-clear.1 +man/man1/gdbm-create.1 +man/man1/gdbm-dump.1 +man/man1/gdbm-exists.1 +man/man1/gdbm-get.1 +man/man1/gdbm-keys.1 +man/man1/gdbm-load.1 +man/man1/gdbm-put.1 +man/man1/gdbm-remove.1 +man/man1/gdbm-revget.1 +man/man1/gdbm_primitive.1 diff --git a/databases/gdbm_primitive/distinfo b/databases/gdbm_primitive/distinfo new file mode 100644 index 00000000000..74adb5b4ee0 --- /dev/null +++ b/databases/gdbm_primitive/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/07/04 20:03:29 wiz Exp $ + +SHA1 (gdbm-prim-1.15.tar.gz-link.gz) = 40c8802ccd8fa66b858ff5059771780b1e28f43a +Size (gdbm-prim-1.15.tar.gz-link.gz) = 10532 bytes +SHA1 (patch-aa) = 94243a804813ee61c1384fdc9e24e630e48bfcf3 diff --git a/databases/gdbm_primitive/patches/patch-aa b/databases/gdbm_primitive/patches/patch-aa new file mode 100644 index 00000000000..15e7c4e200d --- /dev/null +++ b/databases/gdbm_primitive/patches/patch-aa @@ -0,0 +1,27 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/07/04 20:03:30 wiz Exp $ + +--- Makefile.orig Thu Nov 30 07:44:57 2000 ++++ Makefile +@@ -9,17 +9,19 @@ + # Copyright (c) 2000 Jonathan B. Leffert <jonathan@leffert.net> + # All rights reserved. + ++prefix = ${PREFIX} ++ + VERSION=1.15 + PKG=gdbm_primitive + + CC = gcc +-CFLAGS = -O2 -pedantic -Wall -I/opt/include -DVERSION=$(VERSION) ++CFLAGS = -O2 -pedantic -Wall -DVERSION=$(VERSION) -I${BUILDLINK_DIR}/include + + PROGS = gdbm-clear gdbm-create gdbm-dump gdbm-exists gdbm-keys gdbm-load \ + gdbm-get gdbm-put gdbm-remove gdbm-revget +-LIBS = -L/opt/lib -lgdbm ++LIBS = -L${BUILDLINK_DIR}/lib -Wl,-R${PREFIX}/lib -lgdbm + +-INSTALL_PREFIX=/opt/pkgs/gdbm_primitive-$(VERSION) ++INSTALL_PREFIX=${prefix} + + .c.o: + $(CC) $(CFLAGS) -c $< |