summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrzej Giniewicz2015-07-07 20:11:25 +0200
committerAndrzej Giniewicz2015-07-07 20:11:25 +0200
commit7e3709cdc511a71a7d80e23db448806fedc95452 (patch)
treeb7e025842e639787610f7034aa902f55c8de02ae
downloadaur-7e3709cdc511a71a7d80e23db448806fedc95452.tar.gz
Initial import
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD49
2 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d50e8ffc5c0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = insight-toolkit
+ pkgdesc = Insight Segmentation and Registration Toolkit (ITK).
+ pkgver = 4.8.0
+ pkgrel = 1
+ url = http://www.itk.org/
+ arch = i686
+ arch = x86_64
+ license = APACHE
+ makedepends = cmake
+ depends = fftw
+ depends = libjpeg-turbo
+ depends = libpng
+ depends = zlib
+ depends = libtiff
+ depends = gdcm
+ depends = expat
+ depends = hdf5-cpp-fortran
+ source = http://downloads.sourceforge.net/project/itk/itk/4.8/InsightToolkit-4.8.0.tar.xz
+ sha512sums = 2a16d0b8959be4e06a7fb2fb76b02712642c1fc7fa0f807775b5c3088277c7d386d8ff8cc7315915d5f93d49a441e2473646009c27d109d0211e043b8fac0574
+
+pkgname = insight-toolkit
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..698cc1830ae
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: joel schaerer <joel.schaerer@laposte.net>
+
+pkgname=insight-toolkit
+pkgver=4.8.0
+pkgrel=1
+pkgdesc='Insight Segmentation and Registration Toolkit (ITK).'
+arch=('i686' 'x86_64')
+url='http://www.itk.org/'
+license=('APACHE')
+depends=('fftw' 'libjpeg-turbo' 'libpng' 'zlib' 'libtiff' 'gdcm' 'expat' 'hdf5-cpp-fortran')
+makedepends=('cmake')
+source=("http://downloads.sourceforge.net/project/itk/itk/${pkgver:0:3}/InsightToolkit-${pkgver}.tar.xz")
+sha512sums=('2a16d0b8959be4e06a7fb2fb76b02712642c1fc7fa0f807775b5c3088277c7d386d8ff8cc7315915d5f93d49a441e2473646009c27d109d0211e043b8fac0574')
+
+build() {
+ cd "$srcdir"
+ rm -rf build
+ mkdir build
+ cd build
+
+ cmake \
+ -DCMAKE_BUILD_TYPE:STRING=Release \
+ -DBUILD_TESTING:BOOL=OFF \
+ -DBUILD_EXAMPLES:BOOL=OFF \
+ -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
+ -DModule_ITKReview:BOOL=ON \
+ -DITK_USE_SYSTEM_JPEG:BOOL=ON \
+ -DITK_USE_SYSTEM_PNG:BOOL=ON \
+ -DITK_USE_SYSTEM_ZLIB:BOOL=ON \
+ -DITK_USE_SYSTEM_TIFF:BOOL=ON \
+ -DITK_USE_SYSTEM_GDCM:BOOL=ON \
+ -ITK_LEGACY_SILENT:BOOL=ON \
+ -ITK_WRAP_PYTHON:BOOL=ON \
+ -DITK_USE_SYSTEM_EXPAT:BOOL=ON \
+ -DITK_USE_SYSTEM_FFTW:BOOL=ON \
+ -DITK_USE_SYSTEM_HDF5:BOOL=ON \
+ ../InsightToolkit-${pkgver}
+
+ make
+}
+
+package() {
+ cd "$srcdir"/build
+
+ make DESTDIR="${pkgdir}" install
+}