summaryrefslogblamecommitdiff
path: root/user/mdds/APKBUILD
blob: c9542b220e7964f4b7bb3933d20e6cd083728d45 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                              
            
        




                                                 
                        
              
                          
                       
                                                                    

         











                                           



                  




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