summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2016-02-26 15:52:08 +0000
committerfhajny <fhajny@pkgsrc.org>2016-02-26 15:52:08 +0000
commit355045d5dbd6510a3a394c804fb8f7d2289b73d1 (patch)
tree43f441dd49d8fadc1146ba2fbdf7a50254e21487 /databases
parent5413da8da26e47e69b1b204db926a0d7352b220b (diff)
downloadpkgsrc-355045d5dbd6510a3a394c804fb8f7d2289b73d1.tar.gz
Import databases/wiredtiger 2.7.0 into pkgsrc.
WiredTiger is an high performance, scalable, production quality, NoSQL, Open Source extensible platform for data management.
Diffstat (limited to 'databases')
-rw-r--r--databases/wiredtiger/DESCR2
-rw-r--r--databases/wiredtiger/Makefile21
-rw-r--r--databases/wiredtiger/PLIST12
-rw-r--r--databases/wiredtiger/buildlink3.mk12
-rw-r--r--databases/wiredtiger/distinfo6
-rw-r--r--databases/wiredtiger/options.mk33
6 files changed, 86 insertions, 0 deletions
diff --git a/databases/wiredtiger/DESCR b/databases/wiredtiger/DESCR
new file mode 100644
index 00000000000..5e956746244
--- /dev/null
+++ b/databases/wiredtiger/DESCR
@@ -0,0 +1,2 @@
+WiredTiger is an high performance, scalable, production quality,
+NoSQL, Open Source extensible platform for data management.
diff --git a/databases/wiredtiger/Makefile b/databases/wiredtiger/Makefile
new file mode 100644
index 00000000000..7b7ca00a16a
--- /dev/null
+++ b/databases/wiredtiger/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2016/02/26 15:52:08 fhajny Exp $
+
+DISTNAME= wiredtiger-2.7.0
+CATEGORIES= databases
+MASTER_SITES= http://source.wiredtiger.com/releases/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= filip@joyent.com
+HOMEPAGE= http://source.wiredtiger.com/
+COMMENT= Open Source extensible platform for data management
+LICENSE= gnu-gpl-v2 OR gnu-gpl-v3
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+.include "options.mk"
+
+PKGCONFIG_OVERRIDE+= build_posix/wiredtiger.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/wiredtiger/PLIST b/databases/wiredtiger/PLIST
new file mode 100644
index 00000000000..8e85ebe50d0
--- /dev/null
+++ b/databases/wiredtiger/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2016/02/26 15:52:08 fhajny Exp $
+bin/wt
+include/wiredtiger.h
+include/wiredtiger_ext.h
+lib/libwiredtiger.la
+${PLIST.bzip2}lib/libwiredtiger_bzip2.la
+${PLIST.lz4}lib/libwiredtiger_lz4.la
+${PLIST.snappy}lib/libwiredtiger_snappy.la
+${PLIST.zlib}lib/libwiredtiger_zlib.la
+lib/pkgconfig/wiredtiger.pc
+man/man1/wt.1
+man/man3/wiredtiger.3
diff --git a/databases/wiredtiger/buildlink3.mk b/databases/wiredtiger/buildlink3.mk
new file mode 100644
index 00000000000..3f8aa379309
--- /dev/null
+++ b/databases/wiredtiger/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/02/26 15:52:08 fhajny Exp $
+
+BUILDLINK_TREE+= wiredtiger
+
+.if !defined(WIREDTIGER_BUILDLINK3_MK)
+WIREDTIGER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.wiredtiger+= wiredtiger>=2.7.0
+BUILDLINK_PKGSRCDIR.wiredtiger?= ../../databases/wiredtiger
+.endif # WIREDTIGER_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -wiredtiger
diff --git a/databases/wiredtiger/distinfo b/databases/wiredtiger/distinfo
new file mode 100644
index 00000000000..b73a9e2473b
--- /dev/null
+++ b/databases/wiredtiger/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/02/26 15:52:08 fhajny Exp $
+
+SHA1 (wiredtiger-2.7.0.tar.bz2) = 9e28fd4c04e358d907fbb36853d8e75b5eb5ab26
+RMD160 (wiredtiger-2.7.0.tar.bz2) = e7efe009da13f8b314dc33721ef2175e827c7a4d
+SHA512 (wiredtiger-2.7.0.tar.bz2) = b6f880fbed5b65cccc00aec55a5526ad6c8b5892ac9019d261120d739a83fd25dd59756d21b96ebb0c2800331ab2459f2dc94b5aed9dd4f35454a920c328c2e3
+Size (wiredtiger-2.7.0.tar.bz2) = 2844487 bytes
diff --git a/databases/wiredtiger/options.mk b/databases/wiredtiger/options.mk
new file mode 100644
index 00000000000..a292946fc63
--- /dev/null
+++ b/databases/wiredtiger/options.mk
@@ -0,0 +1,33 @@
+# $NetBSD: options.mk,v 1.1 2016/02/26 15:52:08 fhajny Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.wiredtiger
+PKG_SUPPORTED_OPTIONS= bzip2 lz4 snappy zlib
+PKG_SUGGESTED_OPTIONS= snappy zlib
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= bzip2 lz4 snappy zlib
+
+.if !empty(PKG_OPTIONS:Mbzip2)
+.include "../../archivers/bzip2/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-bzip2=on
+PLIST.bzip2= yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mlz4)
+.include "../../archivers/lz4/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-lz4=on
+PLIST.lz4= yes
+.endif
+
+.if !empty(PKG_OPTIONS:Msnappy)
+.include "../../devel/snappy/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-snappy=on
+PLIST.snappy= yes
+.endif
+
+.if !empty(PKG_OPTIONS:Mzlib)
+.include "../../devel/zlib/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-zlib=on
+PLIST.zlib= yes
+.endif