aboutsummaryrefslogtreecommitdiffstats
path: root/community/mdds/APKBUILD
blob: 61e70a3dbb24ec74d1f8c779c750619e6391f4c6 (plain) (blame)
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
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=mdds
pkgver=1.7.0
pkgrel=0
pkgdesc="Multi-dimensional data index algorithm"
url="https://gitlab.com/mdds/mdds"
arch="noarch"
license="MIT"
makedepends="boost-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://kohei.us/files/mdds/src/mdds-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
	install -d 755 "$pkgdir"/usr/lib
	mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib/
}

sha512sums="
a4ca9c54f07343aeeaeaec1ba11d52bc3c0f8c66c0e3a9c635c20fc929b59818443e8e23bde3243b8420a21d669a8e6d53799c354b9c6135bba2f0f58beab612  mdds-1.7.0.tar.bz2
"