summaryrefslogtreecommitdiff
blob: 6b8a0ea8674f34f4d38f7f1b0c3fcb67fa9178c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/lprof/lprof-1.09.ebuild,v 1.7 2005/08/27 16:49:13 lanius Exp $

inherit eutils

DESCRIPTION="Little CMS ICC profile construction set"
HOMEPAGE="http://www.littlecms.com/profilers.htm"
SRC_URI="http://www.littlecms.com/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""
DEPEND="x11-libs/qt
	>=media-libs/lcms-1.09"

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/${P}_mrr_patch4.patch
	epatch ${FILESDIR}/${P}_fix-include.patch
}

src_compile() {
	addpredict ${QTDIR}/etc/settings
	emake || die
}

src_install() {
	dodoc README COPYING manual.txt
	exeinto /usr/bin
	doexe {icc2it8,qtmeasurementtool,qtmonitorprofiler,qtprofilechecker,qtscannerprofiler}
	dodir /usr/share/lprof
	cp -pPR ${S}/{pics,profiles,targets,template} ${D}/usr/share/lprof
}