Magellan Linux

Contents of /trunk/extras/openexr/openexr-2.0.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17476 - (show annotations) (download)
Mon Jun 17 14:32:35 2013 UTC (11 years, 3 months ago) by niro
File size: 860 byte(s)
auto added: ver bump to 2.0.0-r1
1 # $Id$
2
3 PNAME="openexr"
4 PVER="2.0.0"
5 PBUILD="r1"
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.7
13 >= media-libs/ilmbase-2"
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 )
26
27 UP2DATE="updatecmd http://download.savannah.gnu.org/releases/${PNAME} | grep ${PNAME}-[0-9] | lasttarball gz"
28
29 src_compile()
30 {
31 mconfigure --disable-imfexamples || die
32 mmake || die
33 }
34
35 src_install()
36 {
37 mmake DESTDIR=${BINDIR} install || die
38
39 # remove unwanted stuff
40 rm -rf ${BINDIR}/usr/share/doc/OpenEXR* || die
41 rm -rf ${BINDIR}/usr/share/doc/${PNAME}-${PVER}/examples || die
42 }