aboutsummaryrefslogblamecommitdiffstats
path: root/main/mdds/APKBUILD
blob: c049b717070bc1283023b3d70ba38c8adeb75eec (plain) (tree)
1
2
3
4


                                              
             










                                                                     
         




























                                                                        

 


                                                                                                                                                                  
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=mdds
pkgver=0.12.0
pkgrel=0
pkgdesc="Multi-dimentional data index algorithm"
url="https://code.google.com/p/multidimalgorithm/"
arch="noarch"
license="MIT"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://kohei.us/files/$pkgname/src/${pkgname}_$pkgver.tar.bz2
	"

_builddir="$srcdir"/${pkgname}_$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="17edb780d4054e4205cd956910672b83  mdds_0.12.0.tar.bz2"
sha256sums="2a22de23ca828886625120e9d40fccd6333458a1934a13d2c982b6f9403e5981  mdds_0.12.0.tar.bz2"
sha512sums="462f6e3701eb7cce872ce0a76d826886eedccf5ca20293d03744b6d6d5ff1ef16770c6abce1c9118829e252e90783e206d281006d0d4e7e9b328ed9ae37264c1  mdds_0.12.0.tar.bz2"