Magellan Linux

Contents of /branches/magellan-next/extras/openexr/openexr-1.7.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6853 - (show annotations) (download)
Wed Sep 22 20:20:36 2010 UTC (13 years, 8 months ago) by niro
File size: 1052 byte(s)
-added gcc-4.3 patch
1 # $Id: openexr-1.6.1-r2.smage2 3676 2009-10-30 08:14:42Z niro $
2
3 PNAME="openexr"
4 PVER="1.7.0"
5 PBUILD="r1"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries."
11 HOMEPAGE="http://openexr.com/"
12
13 DEPEND=">= media-libs/ilmbase-1"
14 SDEPEND=">= dev-util/pkgconfig-0.25"
15
16 SRCFILE="${PNAME}-${PVER}.tar.gz"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 sminclude multilib
20
21 SRC_URI=(
22 http://download.savannah.nongnu.org/releases/${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch
25 )
26
27 UP2DATE="updatecmd http://download.savannah.nongnu.org/releases/${PNAME} | grep ${PNAME}-[0-9] | lasttarball gz"
28
29 src_prepare()
30 {
31 munpack ${SRFILE} || die
32 mpatch ${PNAME}-${PVER}-gcc43.patch || die
33 }
34
35 src_compile()
36 {
37 mconfigure --disable-imfexamples || die
38 mmake || die
39 }
40
41 src_install()
42 {
43 mmake DESTDIR=${BINDIR} install || die
44
45 # remove unwanted stuff
46 rm -rf ${BINDIR}/usr/share/doc/OpenEXR* || die
47 rm -rf ${BINDIR}/usr/share/doc/${PNAME}-${PVER}/examples || die
48 }