Magellan Linux

Contents of /branches/R11-stable/extras/openexr/openexr-2.1.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 21817 - (show annotations) (download)
Mon Jul 21 09:54:54 2014 UTC (9 years, 10 months ago) by niro
File size: 901 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="openexr"
4 PVER="2.1.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.8
13 >= media-libs/ilmbase-2.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 mtools
21 msetfeature "!check" # fails atm
22
23 SRC_URI=(
24 http://download.savannah.nongnu.org/releases/${PNAME}/${SRCFILE}
25 mirror://${PNAME}/${SRCFILE}
26 )
27
28 UP2DATE="updatecmd http://download.savannah.gnu.org/releases/${PNAME} | grep ${PNAME}-[0-9] | lasttarball gz"
29
30 src_compile()
31 {
32 mconfigure --disable-imfexamples || die
33 mmake || die
34 }
35
36 src_install()
37 {
38 mmake DESTDIR=${BINDIR} install || die
39
40 # remove unwanted stuff
41 mdelete -r /usr/share/doc/OpenEXR\* || die
42
43 minstalldocs AUTHORS COPYING ChangeLog LICENSE NEWS README || die
44 }