summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authormspo <mspo@pkgsrc.org>2015-03-01 21:05:54 +0000
committermspo <mspo@pkgsrc.org>2015-03-01 21:05:54 +0000
commitf1bfaae21a717b4d7e8dea29182f4bdf96ffc80b (patch)
tree27084f6bdf903ef48e8fab01b732c450867280fc /databases
parentf129ee9541c347ce899c748f1de769e2396ecae1 (diff)
downloadpkgsrc-f1bfaae21a717b4d7e8dea29182f4bdf96ffc80b.tar.gz
initial pkg for LMDB
Diffstat (limited to 'databases')
-rw-r--r--databases/lmdb/DESCR1
-rw-r--r--databases/lmdb/Makefile30
-rw-r--r--databases/lmdb/PLIST12
-rw-r--r--databases/lmdb/distinfo5
4 files changed, 48 insertions, 0 deletions
diff --git a/databases/lmdb/DESCR b/databases/lmdb/DESCR
new file mode 100644
index 00000000000..43934caf844
--- /dev/null
+++ b/databases/lmdb/DESCR
@@ -0,0 +1 @@
+LMDB is a tiny and fast mmap-oriented database from Symas
diff --git a/databases/lmdb/Makefile b/databases/lmdb/Makefile
new file mode 100644
index 00000000000..28567b06e21
--- /dev/null
+++ b/databases/lmdb/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2015/03/01 21:05:54 mspo Exp $
+
+VERSION= 0.9.14
+DISTNAME= mdb-${VERSION}
+PKGNAME= lmdb-${VERSION}
+CATEGORIES= databases
+MASTER_SITES= http://ftp.netbsd.org/pub/pkgsrc/distfiles/
+
+MAINTAINER= pkgsrc-users@netbsd.org
+HOMEPAGE= http://symas.com/mdb/
+COMMENT= Symas Lightning Memory-Mapped Database
+USE_TOOLS+= gmake
+INSTALLATION_DIRS+= man/man1
+INSTALLATION_DIRS+= lib
+INSTALLATION_DIRS+= bin
+LICENSE= modified-bsd
+
+WRKSRC= ${WRKDIR}/mdb-mdb
+BUILD_DIRS= ${WRKSRC}/libraries/liblmdb
+
+SUBST_CLASSES+= makefile
+SUBST_STAGE.makefile= pre-configure
+SUBST_MESSAGE.makefile= Fixing CFLAGS and PREFIX
+SUBST_FILES.makefile= libraries/liblmdb/Makefile
+SUBST_SED.makefile= -e 's,/usr/local,${PREFIX},g'
+SUBST_SED.makefile+= -e 's,XCFLAGS),XCFLAGS) -D_SEM_SEMUN_UNDEFINED ,g'
+SUBST_SED.makefile+= -e 's,gcc,${CC},g'
+SUBST_SED.makefile+= -e 's,do cp,do install,g'
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/lmdb/PLIST b/databases/lmdb/PLIST
new file mode 100644
index 00000000000..0480b1c3db0
--- /dev/null
+++ b/databases/lmdb/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2015/03/01 21:05:54 mspo Exp $
+bin/mdb_copy
+bin/mdb_dump
+bin/mdb_load
+bin/mdb_stat
+include
+lib/liblmdb.a
+lib/liblmdb.so
+man/man1/mdb_copy.1
+man/man1/mdb_dump.1
+man/man1/mdb_load.1
+man/man1/mdb_stat.1
diff --git a/databases/lmdb/distinfo b/databases/lmdb/distinfo
new file mode 100644
index 00000000000..ae5a66fa795
--- /dev/null
+++ b/databases/lmdb/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/03/01 21:05:54 mspo Exp $
+
+SHA1 (mdb-0.9.14.tar.gz) = 672fd3b3431fe47252ae2bdc6f2c64d9e0857e8b
+RMD160 (mdb-0.9.14.tar.gz) = 9d6197d447b21403be50bc6db336c3af102339a3
+Size (mdb-0.9.14.tar.gz) = 131208 bytes