Magellan Linux

Contents of /branches/magellan-next/core/lcms/lcms-2.0a-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6709 - (show annotations) (download)
Wed Sep 22 09:23:37 2010 UTC (13 years, 7 months ago) by niro
File size: 955 byte(s)
-fixed SRC_URI
1 # $Id: lcms-1.18a-r2.smage2 3462 2009-10-21 20:43:49Z niro $
2
3 PNAME="lcms"
4 PVER="2.0a"
5 PBUILD="r1"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="The lcms library is used by other programs to provide color management facilities."
11 HOMEPAGE="http://www.littlecms.com/"
12
13 DEPEND=">= media-libs/libtiff-3.9
14 >= media-libs/libjpeg-8"
15
16 SRCFILE="${PNAME}-${PVER}.tar.gz"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/a/}"
18
19 sminclude mbuild mtools multilib
20
21 SRC_URI=(
22 sourceforge://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd_sourceforge ${PNAME}"
27
28 src_compile()
29 {
30 mconfigure --disable-dependency-tracking --with-jpeg --with-tiff --with-zlib || die
31 mmake || die
32 }
33
34 src_install()
35 {
36 # needed directories
37 minstalldir /usr/share/${PNAME}/profiles || die
38
39 mmake DESTDIR=${BINDIR} BINDIR=${BINDIR}/usr/bin install || die
40 minstallfile testbed/\*.icm /usr/share/${PNAME}/profiles || die
41
42 minstalldocs AUTHORS README* NEWS doc/* || die
43 }