aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wiredtiger
diff options
context:
space:
mode:
authorPhilipp Andronov <filipp.andronov@gmail.com>2015-05-16 09:35:06 +0000
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2015-06-19 12:07:29 +0200
commite3f9b82606c39e2d4c168638825651d268219b68 (patch)
treef5ec7b46b2ad0204befe226e3bdb8461ba88f397 /testing/wiredtiger
parentcfd1b987c1a3fb7bba7da7a59cb2ba016ac25df7 (diff)
downloadaports-e3f9b82606c39e2d4c168638825651d268219b68.tar.bz2
aports-e3f9b82606c39e2d4c168638825651d268219b68.tar.xz
testing/wiredtiger: new aport
High performance, scalable, production quality, NoSQL, Open Source extensible platform for data management. http://www.wiredtiger.com This package is a dependency of incoming MongoDB package.
Diffstat (limited to 'testing/wiredtiger')
-rw-r--r--testing/wiredtiger/10-fix-code-generator.patch11
-rw-r--r--testing/wiredtiger/APKBUILD53
2 files changed, 64 insertions, 0 deletions
diff --git a/testing/wiredtiger/10-fix-code-generator.patch b/testing/wiredtiger/10-fix-code-generator.patch
new file mode 100644
index 0000000000..618106f511
--- /dev/null
+++ b/testing/wiredtiger/10-fix-code-generator.patch
@@ -0,0 +1,11 @@
+--- orig/wiredtiger-2.6.0/dist/s_typedef
++++ wiredtiger-2.6.0/dist/s_typedef
+@@ -21,7 +21,7 @@
+ l=`ls ../src/include/*.[hi] ../src/include/*.in |
+ sed -e '/wiredtiger.*/d' -e '/queue.h/d'`
+ egrep -h \
+- '^[ ]*(((struct|union)[ ].*__wt_.*{)|WT_PACKED_STRUCT_BEGIN)' \
++ '^[ ]*(((struct|union)[ ].*__wt_.*\{)|WT_PACKED_STRUCT_BEGIN)' \
+ $l |
+ sed -e 's/WT_PACKED_STRUCT_BEGIN(\(.*\))/struct \1 {/' \
+ -e 's/WT_COMPILER_TYPE_ALIGN(.*)[ ]*//' \
diff --git a/testing/wiredtiger/APKBUILD b/testing/wiredtiger/APKBUILD
new file mode 100644
index 0000000000..408a0ed911
--- /dev/null
+++ b/testing/wiredtiger/APKBUILD
@@ -0,0 +1,53 @@
+# Contributor: Philipp Andronov <filipp.andronov@gmail.com>
+# Maintainer: Philipp Andronov <filipp.andronov@gmail.com>
+
+pkgname=wiredtiger
+pkgver=2.6.0
+pkgrel=0
+pkgdesc="High performance, scalable, production quality, NoSQL, Open Source extensible platform for data management"
+url="http://www.wiredtiger.com"
+arch="x86_64"
+license="custom"
+
+depends=""
+depends_dev="autoconf automake libtool"
+makedepends="$depends_dev"
+
+options="libtool"
+subpackages="$pkgname-doc $pkgname-dev"
+
+install=""
+source="http://source.wiredtiger.com/releases/wiredtiger-2.6.0.tar.bz2
+ 10-fix-code-generator.patch
+ "
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ local i
+
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ sh autogen.sh
+ ./configure --prefix=/usr || exit 1
+ make || exit 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+md5sums="a238faf51904c703ea9dbe6360d0d31e wiredtiger-2.6.0.tar.bz2
+a2d708fbb72b47aa94fb424e4b679484 10-fix-code-generator.patch"
+sha256sums="83dff9bbfa81104884647781d2dbe1457409a5d5b0de71af0fc5eb3864abaf70 wiredtiger-2.6.0.tar.bz2
+65fc3b0885ff2e2ed30b7eb9917671fd7acdbb63978d565e17d328c2da214326 10-fix-code-generator.patch"
+sha512sums="64c834a4ed07d32fe980baf2b79223b75ca4195a8dbac657efebb027faa93f9e7eef150e1d87f1aaa7a83942272ac8640edab5f494fc84c43da81cd1cda43332 wiredtiger-2.6.0.tar.bz2
+a24360c18a8dd677a1942fc66ecdfdb8bc514af6de3e19be822293fdc83c051c43f3270f91eaa4524f30b5bc82c6ecad5162ce5b3f5ff470bab4e1a5d9eb79ec 10-fix-code-generator.patch"