summaryrefslogblamecommitdiff
path: root/user/mdds/APKBUILD
blob: c782a164927f60f704a1d93673febe3f6862f999 (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=2.1.1
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="https://gitlab.com/api/v4/projects/mdds%2Fmdds/packages/generic/source/$pkgver/$pkgname-$pkgver.tar.xz"

build() {
	# GCC 13 changed default fp precision behavior. (#1193, #1205)
	export CXXFLAGS="${CXXFLAGS} -fexcess-precision=fast"

	./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="5fe345e7d84d2e290a519d65b27332f69001c01da961c05a30abfe2a17cb8545822490bcd63b320d49e1b26291a4a898f77495951919aece83208133027848ea  mdds-2.1.1.tar.xz"