summaryrefslogblamecommitdiff
path: root/user/mdds/APKBUILD
blob: c4a28fe121e923ebb11b18253f9712545f4fac05 (plain) (tree)
1
2
3
4
5


                                              

            



































                                                                    
                                                                                                                                                                 
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=mdds
pkgver=1.3.1
pkgrel=1
pkgdesc="Multi-dimensional data index algorithms"
url="https://gitlab.com/mdds/mdds"
arch="noarch"
license="MIT"
depends=""
makedepends=""
checkdepends="boost-dev"
subpackages="$pkgname-doc"
source="http://kohei.us/files/$pkgname/src/$pkgname-$pkgver.tar.bz2"
replaces="$pkgname-dev"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="c7ed422c8e0bfb00debd43a12638efc6706d25f9aee0b7cfc15dc711693c4d555e262ae47ff00797c9601c12c0a7eced0f753b263b5f61623470f842814970a8  mdds-1.3.1.tar.bz2"