Annotation of /trunk/extras/lcms/lcms-1.19-r4.smage2
Parent Directory | Revision Log
Revision 29188 -
(hide annotations)
(download)
Mon May 29 10:43:53 2017 UTC (7 years, 3 months ago) by niro
File size: 871 byte(s)
Mon May 29 10:43:53 2017 UTC (7 years, 3 months ago) by niro
File size: 871 byte(s)
-rebuild against libjpeg-turbo
1 | niro | 29188 | # $Id$ |
2 | |||
3 | PNAME="lcms" | ||
4 | PVER="1.19" | ||
5 | PBUILD="r4" | ||
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 | >= virtual/libjpeg" | ||
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 | } |