Magellan Linux

Annotation of /branches/R11-unstable/extras/lcms/lcms-1.19-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32701 - (hide annotations) (download)
Mon Apr 29 13:28:02 2019 UTC (5 years, 1 month ago) by niro
File size: 871 byte(s)
-release branches/R11-unstable
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     }