Magellan Linux

Contents of /branches/magellan-next/extras/ilmbase/ilmbase-1.0.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6851 - (show annotations) (download)
Wed Sep 22 19:50:16 2010 UTC (13 years, 7 months ago) by niro
File size: 941 byte(s)
-added gcc-4.3 patch to fix openexr builts
1 # $Id: ilmbase-1.0.1-r2.smage2 3677 2009-10-30 08:30:41Z niro $
2
3 PNAME="ilmbase"
4 PVER="1.0.2"
5 PBUILD="r2"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="OpenEXR ILM Base libraries."
11 HOMEPAGE="http://openexr.com/"
12
13 DEPEND=""
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude multilib
19
20 SRC_URI=(
21 http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE}
22 http://download.savannah.nongnu.org/releases/openexr/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${PNAME}-1.0.1-as-needed.patch
25 mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch
26 )
27
28 UP2DATE="updatecmd http://download.savannah.nongnu.org/releases/openexr | grep ${PNAME}-[0-9] | lasttarball gz"
29
30 src_prepare()
31 {
32 munpack ${SRCFILE} || die
33 mpatch ${PNAME}-1.0.1-as-needed.patch || die
34
35 # fix build of openexr with gcc-4.3
36 # no need to patch every openexr release
37 mpatch ${PNAME}-${PVER}-gcc43.patch || die
38 }