Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


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