# # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="High Dynamic Range Images and Video manipulation tools" HOMEPAGE="http://www.mpi-inf.mpg.de/resources/pfstools/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2 LGPL" SLOT="0" KEYWORDS="~x86" IUSE="imagemagick matlab octave openexr netpbm qt tiff" DEPEND="octave? ( sci-mathematics/octave ) imagemagick? ( media-gfx/imagemagick ) tiff? ( media-libs/tiff ) netpbm? ( media-libs/netpbm ) openexr? ( media-libs/openexr ) qt ? ( x11-libs/qt )" # FIXME: jpeghdr #src_unpack() { # unpack ${A} #} src_compile() { econf \ $(use_enable octave octave) \ $(use_enable imagemagick imagemagick) \ $(use_enable matlab matlab) \ $(use_enable openexr openexr) \ $(use_enable qt qt) \ $(use_enable tiff tiff) \ $(use_enable netpbm netpbm) \ || die "configure failed" emake || die "compiling failed" } #src_install() { # make install DESTDIR="${D}" || die # dodoc AUTHORS README TODO #}