aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cpd
diff options
context:
space:
mode:
authorBradley J Chambers <brad.chambers@gmail.com>2017-08-30 08:58:15 -0400
committerTimo Teräs <timo.teras@iki.fi>2017-08-30 13:11:20 +0000
commitf0e7c51dc8b49e1e0d2e9106faf8544a77371bac (patch)
treeaee7469d39d00fa6694f798961e2fa4b096d5da5 /testing/cpd
parentdbed6abccb2bc7376fc2d82701a0c776f721d234 (diff)
downloadaports-f0e7c51dc8b49e1e0d2e9106faf8544a77371bac.tar.bz2
aports-f0e7c51dc8b49e1e0d2e9106faf8544a77371bac.tar.xz
testing/cpd: new aport
https://github.com/gadomski/cpd C++ implementation of the Coherent Point Drift point set registration algorithm.
Diffstat (limited to 'testing/cpd')
-rw-r--r--testing/cpd/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/cpd/APKBUILD b/testing/cpd/APKBUILD
new file mode 100644
index 0000000000..ff115b1b86
--- /dev/null
+++ b/testing/cpd/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
+# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
+pkgname=cpd
+pkgver=0.5.1
+pkgrel=0
+pkgdesc="C++ implementation of the Coherent Point Drift point set registration algorithm."
+url="https://github.com/gadomski/cpd"
+arch="all"
+license="GPL2+"
+makedepends="cmake eigen-dev fgt-dev"
+install=""
+subpackages="$pkgname-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/gadomski/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+
+ mkdir build && cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DWITH_TESTS=OFF \
+ -DBUILD_SHARED_LIBS=ON \
+ -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3
+ make
+}
+
+package() {
+ cd "$builddir"/build
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ec9725e82f3a28aa1d5b3b5c01cd5875fbb1096cb78bf40d5ee7c7d38efbb066faa3a9081621a5dffe299b984ec502119a4d79c67fc8ef83939c269188b7b2a2 cpd-0.5.1.tar.gz"