# Contributor: Bradley J Chambers # Maintainer: Bradley J Chambers setvar pkgname = 'cpd' setvar pkgver = '0.5.1' setvar pkgrel = '0' setvar pkgdesc = ""C++ implementation of the Coherent Point Drift point set registration algorithm."" setvar url = ""https://github.com/gadomski/cpd"" setvar arch = ""all"" setvar license = ""GPL2+"" setvar makedepends = ""cmake eigen-dev fgt-dev"" setvar install = """" setvar subpackages = ""$pkgname-dev"" setvar source = ""$pkgname-$pkgver.tar.gz::https://github.com/gadomski/$pkgname/archive/v$pkgver.tar.gz"" setvar builddir = ""$srcdir/$pkgname-$pkgver"" proc 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 } proc package { cd "$builddir"/build make DESTDIR="$pkgdir" install } setvar sha512sums = ""ec9725e82f3a28aa1d5b3b5c01cd5875fbb1096cb78bf40d5ee7c7d38efbb066faa3a9081621a5dffe299b984ec502119a4d79c67fc8ef83939c269188b7b2a2 cpd-0.5.1.tar.gz""