Contents of /branches/R11-unstable/extras/lcms/lcms-1.19-r3.smage2
Parent Directory | Revision Log
Revision 25474 -
(show annotations)
(download)
Tue Nov 25 03:48:42 2014 UTC (9 years, 10 months ago) by niro
File size: 876 byte(s)
Tue Nov 25 03:48:42 2014 UTC (9 years, 10 months ago) by niro
File size: 876 byte(s)
-release branches/R11-unstable
1 | # $Id$ |
2 | |
3 | PNAME="lcms" |
4 | PVER="1.19" |
5 | PBUILD="r3" |
6 | |
7 | PCAT="media-libs" |
8 | |
9 | DESCRIPTION="The lcms library is used by other programs to provide color management facilities." |
10 | HOMEPAGE="http://www.littlecms.com/" |
11 | |
12 | DEPEND=">= media-libs/libtiff-4 |
13 | >= media-libs/libjpeg-8" |
14 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | sminclude mbuild mtools multilib |
19 | |
20 | SRC_URI=( |
21 | sourceforge://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2DATE="updatecmd_sourceforge ${PNAME} gz" |
26 | |
27 | src_compile() |
28 | { |
29 | mconfigure --disable-dependency-tracking --with-jpeg --with-tiff --with-zlib || die |
30 | mmake || die |
31 | } |
32 | |
33 | src_install() |
34 | { |
35 | # needed directories |
36 | minstalldir /usr/share/${PNAME}/profiles || die |
37 | |
38 | mmake DESTDIR=${BINDIR} BINDIR=${BINDIR}/usr/bin install || die |
39 | minstallfile testbed/\*.icm /usr/share/${PNAME}/profiles || die |
40 | |
41 | minstalldocs AUTHORS README* NEWS doc/* || die |
42 | } |