aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wiredtiger/APKBUILD
blob: f640731036286f022176eddfee5306420f577d0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Contributor: Philipp Andronov <filipp.andronov@gmail.com>
# Maintainer: Philipp Andronov <filipp.andronov@gmail.com>

pkgname=wiredtiger
pkgver=2.7.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 linux-headers"
makedepends="$depends_dev"

options="libtool"
subpackages="$pkgname-doc $pkgname-dev"

install=""
source="http://source.wiredtiger.com/releases/wiredtiger-$pkgver.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="0c58d8ed0d304524cfb1bca518d5ce3d  wiredtiger-2.7.0.tar.bz2
a2d708fbb72b47aa94fb424e4b679484  10-fix-code-generator.patch"
sha256sums="35aef2460700311f4a8778685f4e5c1e49aee718d4d2c8d66c89aeb147b6ba1a  wiredtiger-2.7.0.tar.bz2
65fc3b0885ff2e2ed30b7eb9917671fd7acdbb63978d565e17d328c2da214326  10-fix-code-generator.patch"
sha512sums="b6f880fbed5b65cccc00aec55a5526ad6c8b5892ac9019d261120d739a83fd25dd59756d21b96ebb0c2800331ab2459f2dc94b5aed9dd4f35454a920c328c2e3  wiredtiger-2.7.0.tar.bz2
a24360c18a8dd677a1942fc66ecdfdb8bc514af6de3e19be822293fdc83c051c43f3270f91eaa4524f30b5bc82c6ecad5162ce5b3f5ff470bab4e1a5d9eb79ec  10-fix-code-generator.patch"