aboutsummaryrefslogtreecommitdiffstats
path: root/testing/monetdb/APKBUILD
blob: 644156bb50ba5843b82c6f0e0a65ba7c653eb0ab (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
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=monetdb
_pkgname=MonetDB
pkgver=11.27.5
pkgrel=0
pkgdesc="Column-oriented database management system"
url="https://www.monetdb.org/Home"
arch="all"
license="MPL-1.1"
makedepends="musl-dev gcc bison make python libressl-dev libxml2-dev xz-dev bzip2-dev lz4-dev readline-dev snappy-dev curl-dev pcre-dev unixodbc-dev libatomic_ops-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.monetdb.org/downloads/sources/Jul2017-SP1/$_pkgname-$pkgver.tar.xz
	fix-definitions-musl.patch"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	 make DESTDIR="$pkgdir" install
}

sha512sums="8e5ea7e010a3e336a2524ff63d0a0f9075cdaa290446dc87ee084701482fcce1c1e6069070af1cca438e43815fd238dc7486859c5a74b211651dee25a9c79459  MonetDB-11.27.5.tar.xz
c705b33fecfdfc503621960bccf0bd03af66e9c2d213538daf8e59c2c351c6f98ddfd7325df6036d3de71d156953a21d19c10cbadd4a8b8de63297bdc1d86198  fix-definitions-musl.patch"