# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="A set of programs for reading, writing, manipulating and viewing high-dynamic range (HDR) images and video frames" HOMEPAGE="http://pfstools.sourceforge.net/" SRC_URI="http://downloads.sourceforge.net/project/pfstools/pfstools/1.8.1/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~x86" IUSE="tiff openexr" IUSE_DEFAULTS="tiff +openexr" DEPEND=">=media-libs/tiff-3.9.1 >=media-libs/openexr-1.6.1" RDEPEND="${DEPEND}" src_compile() { econf \ $(use_enable tiff) \ $(use_enable openexr) \ || die "configure failed" emake -j1 || die "make failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS README TODO }