# Copyright 2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="3" inherit eutils toolchain-funcs cmake-utils DESCRIPTION="ITK snap tool for segmentation of medical data" HOMEPAGE="http://www.itksnap.org" SRC_URI="mirror://sourceforge/itk-snap/itksnap-2.4.0-20121121-source.tar.gz" RESTRICT="primaryuri" LICENSE="GPL" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" RDEPEND="sci-libs/itk:4[itkv3compat] >=sci-libs/vtk-5.6 >=x11-libs/fltk-1.3.0[opengl] media-libs/libpng virtual/jpeg " DEPEND="${RDEPEND} >=dev-util/cmake-2.8 " src_prepare() { epatch "${FILESDIR}/itksnap-2.4.0-find-vtk-and-ftlk.patch" }