1 # Maintainer: hauptmech
2 # Contriutors: figo.zhang
9 pkgdesc="Point Cloud Library:a comprehensive open source library for n-D Point Clouds and 3D geometry processing"
11 url='http://www.ros.org/wiki/pcl/'
14 depends=('vtk' 'libflann')
15 optdepends=('cuda-toolkit')
16 makedepends=('cmake' 'eigen3' 'cminpack' 'boost')
18 _svntrunk="http://svn.pointclouds.org/pcl/trunk"
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up -r $pkgver)
28 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
31 msg "SVN checkout done or server timeout"
32 msg "Starting make..."
37 mkdir -p build || return 1
40 export CUDA_BIN_PATH=/opt/cuda-toolkit
42 -DCMAKE_BUILD_TYPE=Release \
44 -DCMINPACK_PREFIX=/usr \
46 -DBUILD_global_tests=OFF \
47 -DBUILD_simulation=OFF \
48 -DBUILD_cuda_apps=OFF \
49 -DBUILD_cuda_common=OFF \
50 -DBUILD_cuda_features=OFF \
52 -DBUILD_cuda_sample_consensus=OFF \
53 -DBUILD_cuda_segmentation=OFF \
54 -DBUILD_cuda_features=OFF
62 cd $srcdir/$_svnmod/build
63 make DESTDIR=$pkgdir install