/[gentoo-x86]/media-libs/openexr/openexr-1.7.0.ebuild
Gentoo

Contents of /media-libs/openexr/openexr-1.7.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Thu Aug 6 16:45:43 2015 UTC (4 years, 5 months ago) by klausman
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +3 -3 lines
Drop keywords for alpha/~alpha, see bug 526054

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key CE5D54E8)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/openexr/openexr-1.7.0.ebuild,v 1.10 2012/05/09 17:00:17 aballier Exp $
4
5 EAPI=2
6 inherit eutils libtool
7
8 DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
9 HOMEPAGE="http://openexr.com/"
10 SRC_URI="http://download.savannah.gnu.org/releases/openexr/${P}.tar.gz"
11
12 LICENSE="BSD"
13 SLOT="0"
14 KEYWORDS="amd64 -arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
15 IUSE="examples static-libs"
16
17 RDEPEND="sys-libs/zlib
18 >=media-libs/ilmbase-1.0.2"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig"
21
22 src_prepare() {
23 sed -i \
24 -e "s:/var/tmp/:${T}:" \
25 IlmImfTest/tmpDir.h || die # Fix path for testsuite
26
27 epatch "${FILESDIR}"/${P}-gcc43.patch
28
29 elibtoolize
30 }
31
32 src_configure() {
33 econf \
34 --disable-dependency-tracking \
35 $(use_enable static-libs static) \
36 $(use_enable examples imfexamples)
37 }
38
39 src_install() {
40 emake \
41 DESTDIR="${D}" \
42 docdir="/usr/share/doc/${PF}/pdf" \
43 examplesdir="/usr/share/doc/${PF}/examples" \
44 install || die
45
46 dodoc AUTHORS ChangeLog NEWS README
47
48 if use examples; then
49 dobin IlmImfExamples/imfexamples || die
50 else
51 rm -rf "${D}"/usr/share/doc/${PF}/examples
52 fi
53
54 find "${D}" -name '*.la' -delete
55 }

  ViewVC Help
Powered by ViewVC 1.1.20