Source

and3k-sunrise-overlay / sci-visualization / drishti-import / drishti-import-2.9999.ebuild

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit qt4-r2 mercurial

DESCRIPTION="Volume Exploration and Presentation Tool"
HOMEPAGE="http://anusf.anu.edu.au/Vizlab/drishti/"
LICENSE="GPL-3"

SLOT="2"
KEYWORDS=""
IUSE=""

EHG_PROJECT="drishti"
EHG_REPO_URI="https://drishti-2.googlecode.com/hg/"

DEPEND="
	sci-visualization/drishti
	media-gfx/imagemagick
	sci-libs/hdf
"

S="${WORKDIR}/hg/tools/import"

src_unpack() {
	mercurial_src_unpack
	cd "${S}"

	sed -i "s|../../3rdParty/|/usr/|" import.pro || die "sed failed"

	epatch "${FILESDIR}/${P}-missing-install.patch"
}