summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPeter Mattern2016-05-23 18:51:26 +0200
committerPeter Mattern2016-05-24 12:25:33 +0200
commit48a2de5b8fa9b674d529d69d92524a7cfd862075 (patch)
tree5508cf2889e1898a1009a6bd21be4d6b45577f1d /PKGBUILD
parent4217b30501b985791265d21542ac260dd0e7690d (diff)
downloadaur-itk-git.tar.gz
Depend on GDCM VCS
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4fbd617503a..9f9c37c2bce 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,16 @@
_pkgname=itk
pkgname=$_pkgname-git
-pkgver=4.9.1.511.gf3ac5ea
+pkgver=4.10rc02.25.gbf3f02c
pkgrel=1
pkgdesc='Open-source, cross-platform C++ toolkit for segmentation and registration'
arch=('i686' 'x86_64')
url='http://www.itk.org'
license=('Apache')
-depends=('hdf5-cpp-fortran' 'gdcm' 'libjpeg-turbo' 'libpng' 'libtiff')
-makedepends=('git' 'cmake' 'python' 'swig')
-provides=("$_pkgname" "insight-toolkit" "insight-toolkit-git")
-conflicts=("$_pkgname" "insight-toolkit" "insight-toolkit-git")
+depends=('hdf5-cpp-fortran' 'gdcm-git' 'libjpeg-turbo' 'libpng' 'libtiff')
+makedepends=('git' 'cmake')
+provides=("$_pkgname" "insight-toolkit"{,-git})
+conflicts=("$_pkgname" "insight-toolkit"{,-git})
source=("$_pkgname::git://git.code.sf.net/p/itk/code")
sha256sums=("SKIP")
@@ -21,14 +21,12 @@ pkgver() {
}
build() {
- mkdir -p build ; cd build
-
- # All bindings are triggering failure of CMake or make right now, thus temporarily disabling
-
+ rm -Rf build && mkdir build
+ cd build
cmake $srcdir/$_pkgname \
+ -DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_TESTING=OFF \
- -DCMAKE_INSTALL_PREFIX=/usr \
-DITK_USE_SYSTEM_LIBRARIES=ON \
-DITK_USE_SYSTEM_GDCM=ON \
-DITK_WRAP_JAVA=OFF \