summaryrefslogtreecommitdiff
path: root/repo/mdds/mdds.xibuild
blob: acb0c5a52cbf68290dc1b3237623f696e5017bd0 (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
#!/bin/sh

NAME="mdds"
DESC="Multi-dimensional data index algorithm"

MAKEDEPS="boost"

PKG_VER=2.0.3
BRANCH=$PKG_VER
SOURCE="https://gitlab.com/mdds/mdds.git"

build() {
    ./autogen.sh
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	make check
}

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