blob: abe3f9afc67c1e28f8f779c7ecab70e70ee484fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# First maintainer: Hal Clark
# Now maintained by: Paolo Zaffino (p.zaffino@unicz.it)
# Plastimatch PI: Greg Sharp
pkgname=plastimatch
pkgver=1.10.0
pkgrel=1
pkgdesc='Tools for medical image reconstruction and registration.'
arch=('i686' 'x86_64')
url='http://plastimatch.org/'
license=('BSD-style')
conflicts=('plastimatch-static')
replaces=('plastimatch-static')
depends=('insight-toolkit' 'dcmtk' 'libpng' 'zlib' 'libtiff' 'libjpeg-turbo' 'fftw')
makedepends=('cmake')
optdepends=('cuda')
source=("https://gitlab.com/plastimatch/plastimatch/-/archive/${pkgver}/plastimatch-${pkgver}.tar.bz2")
md5sums=('92160912a3b3297e1190ef79f62413bd')
sha1sums=('a3bc5b9869d716e8626d7c255ce67b48e475e7a4')
build() {
cd "${srcdir}"
rm -rf build
mkdir build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DBUILD_TESTING:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DPLM_CONFIG_ENABLE_CUDA=OFF \
../plastimatch-${pkgver}/
make
}
package() {
cd "${srcdir}"/build/
make DESTDIR="${pkgdir}" install
}
|