# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ IUSE="" inherit eutils DESCRIPTION="Little CMS ICC profile construction set" HOMEPAGE="http://lprof.sourceforge.net/" SRC_URI="mirror://sourceforge/lprof/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" # LPROF should build and run on any platform that supports QT, lcms and vigra # Debain unstable has it availble for alpha amd64 arm # hppa i386 1a64 m68k mips mipsel ppc s390 and sparc # KEYWORDS list is limited by where VIGRA is available at this time in Gentoo KEYWORDS="~x86 ~amd64 ~ppc" # Next limitation in Gentoo is QT support as vigra become available # on the platforms below they can be added to the actual # KEYWORD list # QT_KEYWORDS="~x86 ~amd64 ~sparc ~ppc ~alpha ~hppa ~ia64 ~mips ~ppc64" DEPEND="=x11-libs/qt-3* >=media-libs/lcms-1.13-r2 >=media-libs/vigra-1.3.0 >=media-libs/tiff-3.7.1" src_unpack() { unpack ${A} } src_compile() { ./scons.py ${MAKEOPTS} PREFIX=/usr || die "build failed" } src_install() { dodoc README COPYING KNOWN_BUGS exeinto /usr/bin doexe {${S}/build/linux/icc2it8, ${S}/build/linux/lprof} cp -pPR ${S}/build/linux/icc2it8 ${D}/usr/bin cp -pPR ${S}/build/linux/lprof ${D}/usr/bin dodir /usr/share/lprof/data cp -pPR ${S}/data ${D}/usr/share/lprof }