summaryrefslogtreecommitdiff
path: root/repo/mdds
diff options
context:
space:
mode:
Diffstat (limited to 'repo/mdds')
-rw-r--r--repo/mdds/mdds.xibuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/mdds/mdds.xibuild b/repo/mdds/mdds.xibuild
new file mode 100644
index 0000000..d2555a5
--- /dev/null
+++ b/repo/mdds/mdds.xibuild
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+NAME="mdds"
+DESC="Multi-dimensional data index algorithm"
+
+MAKEDEPS=" boost"
+
+PKG_VER=1.7.0
+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/
+}
+