aboutsummaryrefslogtreecommitdiffstats
path: root/testing/monetdb/APKBUILD
blob: c95bcb024941ac1d2fd14279805e29a97f1ce20d (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.31.13
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 openssl-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/archive/$_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="3ff67f09045813dcbfa89b18e408c02b04b883685e55ff4a96b69d617059ab23dfa80c3ac707f1ac4207ae895c9b92234aee3df930b6ed8ada5ff8752915b338  MonetDB-11.31.13.tar.xz
c705b33fecfdfc503621960bccf0bd03af66e9c2d213538daf8e59c2c351c6f98ddfd7325df6036d3de71d156953a21d19c10cbadd4a8b8de63297bdc1d86198  fix-definitions-musl.patch"