# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils autotools DESCRIPTION="Argyll is an open source, ICC compatible color management system." HOMEPAGE="http://www.argyllcms.com" SRC_URI="http://www.argyllcms.com/argyllV0.70Beta8_src.zip" LICENSE="GPL-3" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=media-libs/tiff-3.7.3 >=media-libs/jpeg-6b-r5 >=sys-libs/zlib-1.2.3 || ( >=dev-util/jam-2.4 >=dev-util/ftjam-2.4 )" RDEPEND="" src_compile() { sh makeall.ksh || die "jam makeall script failed" } src_install() { sh makeinstall.ksh || die "jam makeinstall script failed" rm bin/License.txt mv bin/RefMediumGamut.gam ref/ # Avoid conflict with lcms version of icclink mv bin/icclink bin/icclink-argyll dobin bin/* dodoc *.txt dohtml doc/* dodoc ref/* } pkg_postinst() { ewarn "Argyll's icclink program s been renamed to icclink-argyll to avoid" ewarn "conflict with the version from lcms." einfo einfo "If you have a Spyder2 you need to extract the firmware from" einfo "spyder2_setup.exe (ColorVision CD) and store it in /usr/bin as" einfo "spyd2PLD.bin." einfo }