# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit libtool eutils DESCRIPTION="SampleICC provides an open source platform independent C++ library for reading, writing, manipulating, and applying ICC profiles along with applications that make use of this library." HOMEPAGE="http://sampleicc.sourceforge.net/" SRC_URI="mirror://sourceforge/sampleicc/SampleICC-${PV}.tar.gz" LICENSE="public-domain" SLOT="0" KEYWORDS="x86" S="${WORKDIR}/SampleICC-${PV}" src_unpack() { unpack ${A} cd "${S}" # We need to refresh this for the BSD's cp /usr/share/libtool/install-sh . elibtoolize } src_compile() { econf || die emake || die "emake failed" } src_install() { emake \ DESTDIR="${D}" \ BINDIR="${D}"/usr/bin \ install || die "make install failed" dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README* }