aboutsummaryrefslogtreecommitdiffstats
path: root/community/mdds1.0
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-19 15:00:25 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-19 15:01:45 +0200
commitd322d06839fa00d9beb331f4768b958a4eeabee1 (patch)
tree040f8f1bdc701602fd23446552a4805377b2eefc /community/mdds1.0
parent361075599a08dc7d6aad8154d151a920b1bbfdbf (diff)
downloadaports-d322d06839fa00d9beb331f4768b958a4eeabee1.tar.bz2
aports-d322d06839fa00d9beb331f4768b958a4eeabee1.tar.xz
community/mdds1.0: new aport
Diffstat (limited to 'community/mdds1.0')
-rw-r--r--community/mdds1.0/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/community/mdds1.0/APKBUILD b/community/mdds1.0/APKBUILD
new file mode 100644
index 0000000000..6492f79c18
--- /dev/null
+++ b/community/mdds1.0/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname="mdds1.0"
+_realname=mdds
+pkgver=1.0.0
+pkgrel=0
+_sha="3183d3ca85e9b8878f9144cc29ab90504a0d0454"
+pkgdesc="Multi-dimentional data index algorithm"
+url="https://gitlab.com/mdds/mdds"
+arch="noarch"
+license="MIT"
+depends=""
+depends_dev=""
+makedepends="$depends_dev automake autoconf libtool"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="$_realname-$pkgver.tar.gz::https://gitlab.com/mdds/mdds/repository/archive.tar.gz?ref=$pkgver"
+
+builddir="$srcdir/$_realname-$pkgver-$_sha"
+
+prepare() {
+ cd "$builddir"
+ default_prepare || return 1
+ ./autogen.sh || return 1
+}
+
+build() {
+ ./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
+ install -d 755 "$pkgdir"/usr/lib
+ mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib/
+}
+
+md5sums="3c6782bcb20b818ab9493fca904d38f2 mdds-1.0.0.tar.gz"
+sha256sums="7fc094b73fc41294e560ab3d30a10eace010d699490c953de1d43c14ee071302 mdds-1.0.0.tar.gz"
+sha512sums="9eda126f78b221f098918822eea599b5a63abf86fbc733b8f603671809a3d63504fb12d7a500a49c67346a42cbeaaffabd15049092f7d1068150a24c617014b0 mdds-1.0.0.tar.gz"