/[gentoo-x86]/media-libs/icclib/icclib-2.14.ebuild
Gentoo

Contents of /media-libs/icclib/icclib-2.14.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Sep 24 02:30:27 2012 UTC (2 years, 3 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.2.0_alpha131/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=4
6
7 inherit base multilib toolchain-funcs
8
9 MY_P="${PN}_V${PV}"
10 DESCRIPTION="Library for reading and writing ICC color profile files"
11 HOMEPAGE="http://freecode.com/projects/icclib"
12 SRC_URI="http://www.argyllcms.com/${MY_P}.zip"
13
14 LICENSE="BSD"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE=""
18
19 DEPEND="app-arch/unzip"
20
21 S=${WORKDIR}
22
23 ICCLIB_SOVERSION="0"
24
25 PATCHES=(
26 "${FILESDIR}/${P}-make.patch"
27 )
28
29 src_compile() {
30 emake CC="$(tc-getCC)" ICCLIB_SOVERSION=${ICCLIB_SOVERSION}
31 }
32
33 src_install() {
34 mv libicc.so libicc.so.${ICCLIB_SOVERSION} || die
35 dolib.so libicc.so.${ICCLIB_SOVERSION}
36 dosym libicc.so.${ICCLIB_SOVERSION} /usr/$(get_libdir)/libicc.so
37 dobin iccdump
38 dodoc Readme.txt todo.txt log.txt
39
40 insinto /usr/include
41 doins icc*.h
42 }

  ViewVC Help
Powered by ViewVC 1.1.20