Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:keywords Id