blob: 0e2cadd75419eff05dfce5f2f5b7f4382dc24e1b (
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
53
54
55
56
57
58
59
|
# Contributor: Philipp Andronov <filipp.andronov@gmail.com>
# Maintainer: Philipp Andronov <filipp.andronov@gmail.com>
pkgname=wiredtiger
pkgver=2.8.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="(GPLv2 or GPLv3) and MIT and BSD"
depends=""
depends_dev="autoconf automake libtool linux-headers"
makedepends="$depends_dev zlib-dev snappy-dev"
options=""
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
install=""
source="http://source.wiredtiger.com/releases/wiredtiger-$pkgver.tar.bz2
10-fix-code-generator.patch
makemake-remove-libtool-version.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
sh autogen.sh || return 1
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--disable-static \
--with-builtins=zlib,snappy \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
md5sums="83162864b3ea7ec27982589830c4adf4 wiredtiger-2.8.0.tar.bz2
a2d708fbb72b47aa94fb424e4b679484 10-fix-code-generator.patch
6289c5d090f81f0573ee15783f492207 makemake-remove-libtool-version.patch"
sha256sums="593e4858a21465db6f8360cc6281489f8a114fa301bd2753c0bde9a86ef107e2 wiredtiger-2.8.0.tar.bz2
65fc3b0885ff2e2ed30b7eb9917671fd7acdbb63978d565e17d328c2da214326 10-fix-code-generator.patch
dcb10f0ecd04c2d45ca0a271f268739b3718a34a5b87563e12855d6db13f3b9c makemake-remove-libtool-version.patch"
sha512sums="eb478331b7df1a87fe8885c41416b4b71e51fed6b0a73a163f85ddcb42932e2b411868fb917aa48ed48ddd3400243d1983b4d4c9d8c8d9d9fff8d184bbdadc14 wiredtiger-2.8.0.tar.bz2
a24360c18a8dd677a1942fc66ecdfdb8bc514af6de3e19be822293fdc83c051c43f3270f91eaa4524f30b5bc82c6ecad5162ce5b3f5ff470bab4e1a5d9eb79ec 10-fix-code-generator.patch
9412a227ca8c9ff47db6d460736cfaab4f38aaf7c6f07ddeaaad6a2b1e6080a6bde6ef6392d1be25e7f987ca153528583cc0c8544397162c09e495911a0e4f25 makemake-remove-libtool-version.patch"
|