diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-08-04 17:53:17 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-08-05 13:29:16 +0200 |
commit | 766b776cb696d5cc8699affee5a9288ceb5a7934 (patch) | |
tree | 11320d3515dc10ee235fc58847873772efe0553b /community/mdds | |
parent | 5d66aded2b15e09c1914ec3dd6ceaa5d6e597ae3 (diff) | |
download | aports-766b776cb696d5cc8699affee5a9288ceb5a7934.tar.bz2 aports-766b776cb696d5cc8699affee5a9288ceb5a7934.tar.xz |
community/mdds: move from main
only libreoffice uses it
Diffstat (limited to 'community/mdds')
-rw-r--r-- | community/mdds/APKBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/community/mdds/APKBUILD b/community/mdds/APKBUILD new file mode 100644 index 0000000000..e605a5d520 --- /dev/null +++ b/community/mdds/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=mdds +pkgver=0.12.1 +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 + install -d 755 "$pkgdir"/usr/lib + mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib/ +} + +md5sums="ef2560ed5416652a7fe195305b14cebe mdds_0.12.1.tar.bz2" +sha256sums="23565e9d7810a6ac30478833813db847f80e927b414a7be07b7cc03ed3aae83d mdds_0.12.1.tar.bz2" +sha512sums="852f58e1f3c18aef78646c2bd6b34dc544fc06cba7ef6bda2a44fd5e681bf47bbf7389505061ddd81797b0bdf343e55f060397a1ccc582c73990bc74d36575a6 mdds_0.12.1.tar.bz2" |