/[gentoo-x86]/media-libs/lcms/lcms-2.4.ebuild
Gentoo

Contents of /media-libs/lcms/lcms-2.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Feb 18 22:12:28 2013 UTC (22 months ago) by zmedico
Branch: MAIN
Changes since 1.1: +3 -3 lines
Add ~arm-linux keyword.

(Portage version: 2.2.0_alpha163_p5/cvs/Linux i686, signed Manifest commit with key 0xFDE8EF85AE5719A3)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/lcms/lcms-2.4.ebuild,v 1.1 2012/09/16 04:59:16 radhermit Exp $
4
5 EAPI=4
6
7 DESCRIPTION="A lightweight, speed optimized color management engine"
8 HOMEPAGE="http://www.littlecms.com/"
9 SRC_URI="mirror://sourceforge/${PN}/lcms2-${PV}.tar.gz"
10
11 LICENSE="MIT"
12 SLOT="2"
13 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
14 IUSE="doc jpeg static-libs test tiff zlib"
15
16 RDEPEND="jpeg? ( virtual/jpeg )
17 tiff? ( media-libs/tiff:0 )
18 zlib? ( sys-libs/zlib )"
19 DEPEND="${RDEPEND}"
20
21 S=${WORKDIR}/lcms2-${PV}
22
23 src_configure() {
24 econf \
25 $(use_enable static-libs static) \
26 $(use_with jpeg) \
27 $(use_with tiff) \
28 $(use_with zlib)
29 }
30
31 src_compile() {
32 default
33
34 if use test; then
35 cd testbed
36 emake testcms
37 fi
38 }
39
40 src_test() {
41 cd testbed
42 ./testcms || die
43 }
44
45 src_install() {
46 default
47
48 if use doc; then
49 docinto pdf
50 dodoc doc/*.pdf
51 fi
52
53 rm -f "${ED}"usr/lib*/liblcms2.la
54 }

  ViewVC Help
Powered by ViewVC 1.1.20