# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ # The author uses version naming that conflicts with Gentoo #S=${WORKDIR}/mrwtoppm-0.1.0 DESCRIPTION="Collection of programs for processing the RAW format files from Minolta DiMAGE cameras" HOMEPAGE="http://home.swbell.net/dobroom/mintoppm/" SRC_URI="http://home.swbell.net/dobroom/mintoppm/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND=">=media-libs/lcms-1.08 media-libs/netpbm >=media-gfx/gimp-2.0" # No configure statement to disable gimp plugin. # Gimp-plugin is only works with gimp-1.x series at this time. # Unsure if netpbm is required for build or just runtime dep. #RDEPEND="" src_compile() { econf \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --with-lcms-includes=/usr/include/lcms || die "./configure failed" emake || die "emake failed" } src_install() { make DESTDIR=${D} install || die # Source make install does not install /usr/share/docs dodoc AUTHORS ChangeLog README TODO }