blob: 91c1fcb2f985828730b2d0c0b47ebda6a86f00d4 (
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
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=wiredtiger-git
pkgver=3.1.0r19536
pkgrel=2
pkgdesc="High performance, scalable, production quality, NoSQL, Open Source extensible platform for data management"
arch=('x86_64')
url="http://source.wiredtiger.com/"
license=('GPL' 'custom')
depends=('glibc')
makedepends=('git')
provides=('wiredtiger')
conflicts=('wiredtiger')
source=("git://github.com/wiredtiger/wiredtiger.git")
options=('!makeflags')
md5sums=('SKIP')
pkgver() {
cd ${pkgname%-git}
printf %sr%s $(git describe --tags | tr - .) $(git rev-list --count HEAD)
}
prepare() {
find ${pkgname%-git} -name "*.py" -exec sed -i '1s+python+python2+' {} \;
}
build() {
cd ${pkgname%-git}
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd ${pkgname%-git}
make DESTDIR="$pkgdir/" install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE_main
install -m644 docs/license.html "$pkgdir"/usr/share/licenses/$pkgname/license.html
}
|