# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="1" inherit eutils DESCRIPTION="Implementation of tone mapping operators for PFStools" HOMEPAGE="http://pfstools.sourceforge.net/pfstmo.html" SRC_URI="mirror://sourceforge/pfstools/pfstmo/${PV}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" IUSE="debug fftw" DEPEND=" >=media-gfx/pfstools-1.8 sci-libs/gsl fftw? ( sci-libs/fftw:3.0 )" RDEPEND="${DEPEND}" src_compile() { econf \ $(use_enable debug) \ || die "configure failed" emake -j1 || die "make failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS README TODO }