Magellan Linux

Contents of /trunk/extras/ilmbase/ilmbase-2.1.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 21113 - (show annotations) (download)
Tue Mar 11 14:02:25 2014 UTC (10 years, 3 months ago) by niro
File size: 737 byte(s)
-fix pthread and as needed issues, set PTHREAD_LIBS before configure to get this included in the pkgconfig file
1 # $Id$
2
3 PNAME="ilmbase"
4 PVER="2.1.0"
5 PBUILD="r1"
6
7 PCAT="media-libs"
8
9 DESCRIPTION="OpenEXR ILM Base libraries."
10 HOMEPAGE="http://openexr.com/"
11
12 DEPEND=">= sys-libs/libstdc++-4.8"
13
14 SRCFILE="${PNAME}-${PVER}.tar.gz"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude multilib
18 msetfeature "!check"
19
20 SRC_URI=(
21 http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE}
22 http://download.savannah.nongnu.org/releases/openexr/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd http://download.savannah.nongnu.org/releases/openexr | grep ${PNAME}-[0-9] | lasttarball gz"
27
28 src_compile()
29 {
30 # fix bogus pthread linking and as-needed issues
31 PTHREAD_LIBS="-pthread -lpthread -lrt" \
32 mconfigure || die
33 mmake || die
34 }