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

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

MAKEDEPS=" boost"

PKG_VER=2.0.3
SOURCE="https://kohei.us/files/mdds/src/mdds-$PKG_VER.tar.bz2"

build() {
	./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/
}