updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / pcl / PKGBUILD
blob16adafeec2f0dd4d5fc01529b513c90362787639
1 # Maintainer: hauptmech
2 # Contributors: figo.zhang, lubosz
4 pkgname=pcl
5 pkgver=1.4.0
6 pkgrel=1
7 pkgdesc="Point Cloud Library:a comprehensive open source library for n-D Point Clouds and 3D geometry processing"
8 arch=('any')
9 url='http://www.pointclouds.org'
10 license=('BSD')
11 depends=('libflann' 'vtk' 'qhull')
12 optdepends=('openni-git' 'openmpi')
13 makedepends=('cmake' 'eigen3' 'boost')
14 source=("http://dev.pointclouds.org/attachments/download/610/PCL-1.4.0-Source.tar.bz2")
15 build() {
16         cd $srcdir/PCL-$pkgver-Source
17         mkdir -p build && cd build
19         cmake .. \
20         -DCMAKE_BUILD_TYPE=Release \
21         -DCMAKE_INSTALL_PREFIX=/usr 
23         make
26 package() {
27   cd $srcdir/PCL-$pkgver-Source/build
28   make DESTDIR=$pkgdir install
29   install -D -m644 ../LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
31 md5sums=('63fd633a6306ae9b334131b250a2f893')