Magellan Linux

Contents of /branches/R11-stable/extras/openexr/openexr-1.7.0-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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