Contents of /branches/R11-stable/extras/openexr/openexr-2.0.1-r1.smage2
Parent Directory | Revision Log
Revision 18913 -
(show annotations)
(download)
Wed Aug 14 13:13:11 2013 UTC (11 years, 1 month ago) by niro
File size: 893 byte(s)
Wed Aug 14 13:13:11 2013 UTC (11 years, 1 month ago) by niro
File size: 893 byte(s)
-release branches/R11-stable
1 | # $Id$ |
2 | |
3 | PNAME="openexr" |
4 | PVER="2.0.1" |
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 | 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 | rm -rf ${BINDIR}/usr/share/doc/OpenEXR* || die |
42 | rm -rf ${BINDIR}/usr/share/doc/${PNAME}-${PVER}/examples || die |
43 | } |