summaryrefslogtreecommitdiff
blob: ecec49c240318b2c4a08ceee8a02d30919170c28 (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-2004 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.5 2004/06/24 22:45:01 agriffis 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="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 -ar ${S}/{pics,profiles,targets,template} ${D}/usr/share/lprof
}