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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (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.1: +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-2.2.0.ebuild,v 1.1 2014/08/22 22:17:36 ssuominen Exp $
4
5 EAPI=5
6 inherit autotools-multilib
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/22" # based on SONAME
14 KEYWORDS="~amd64 -arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
15 IUSE="examples static-libs"
16
17 RDEPEND=">=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]
18 >=media-libs/ilmbase-${PV}:=[${MULTILIB_USEDEP}]"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig"
21 DOCS=( AUTHORS ChangeLog NEWS README )
22
23 src_prepare() {
24 # Fix path for testsuite
25 sed -i -e "s:/var/tmp/:${T}:" IlmImfTest/tmpDir.h || die
26 autotools-multilib_src_prepare
27 }
28
29 src_configure() {
30 local myeconfargs=(
31 $(use_enable static-libs static)
32 $(use_enable examples imfexamples)
33 )
34 autotools-multilib_src_configure
35 }
36
37 src_install() {
38 autotools-multilib_src_install \
39 docdir="${EPREFIX}"/usr/share/doc/${PF}/pdf \
40 examplesdir="${EPREFIX}"/usr/share/doc/${PF}/examples
41
42 docompress -x /usr/share/doc/${PF}/examples
43 use examples || rm -rf "${ED}"/usr/share/doc/${PF}/examples
44 }

  ViewVC Help
Powered by ViewVC 1.1.20