aports/community/mdds/APKBUILD
2023-10-22 08:28:12 +00:00

45 lines
975 B
Plaintext

# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=mdds
pkgver=2.1.1
pkgrel=0
pkgdesc="Multi-dimensional data index algorithm"
url="https://gitlab.com/mdds/mdds"
arch="noarch"
license="MIT"
makedepends="autoconf automake boost-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://gitlab.com/mdds/mdds/-/archive/$pkgver/mdds-$pkgver.tar.gz"
prepare() {
default_prepare
NOCONFIGURE=1 ./autogen.sh
}
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="
211e33479faa1208be29b96b147119d92f64ac04649d3c85b7f0974493977ede26ea69f189a559fcb3be56238ba1cd42587e95c04c0ac65619fb56d4808d3309 mdds-2.1.1.tar.gz
"