aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wiredtiger/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/wiredtiger/APKBUILD')
-rw-r--r--testing/wiredtiger/APKBUILD53
1 files changed, 53 insertions, 0 deletions
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"