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

Diff of /media-libs/lcms/lcms-1.19.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.14 Revision 1.15
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-libs/lcms/Attic/lcms-1.19.ebuild,v 1.14 2012/08/24 21:55:47 dilfridge Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-libs/lcms/Attic/lcms-1.19.ebuild,v 1.15 2012/09/11 02:45:36 ottxor Exp $
4 4
5EAPI="3" 5EAPI="3"
6PYTHON_DEPEND="python? 2" 6PYTHON_DEPEND="python? 2"
7SUPPORT_PYTHON_ABIS="1" 7SUPPORT_PYTHON_ABIS="1"
8RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*" 8RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
13HOMEPAGE="http://www.littlecms.com/" 13HOMEPAGE="http://www.littlecms.com/"
14SRC_URI="http://www.littlecms.com/${P}.tar.gz" 14SRC_URI="http://www.littlecms.com/${P}.tar.gz"
15 15
16LICENSE="MIT" 16LICENSE="MIT"
17SLOT="0" 17SLOT="0"
18KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" 18KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
19IUSE="jpeg python static-libs tiff zlib" 19IUSE="jpeg python static-libs tiff zlib"
20 20
21RDEPEND="tiff? ( media-libs/tiff:0 ) 21RDEPEND="tiff? ( media-libs/tiff:0 )
22 jpeg? ( virtual/jpeg ) 22 jpeg? ( virtual/jpeg )
23 zlib? ( sys-libs/zlib )" 23 zlib? ( sys-libs/zlib )"
62 if use python; then 62 if use python; then
63 python_copy_sources python 63 python_copy_sources python
64 64
65 building() { 65 building() {
66 emake \ 66 emake \
67 LCMS_PYEXECDIR="$(python_get_sitedir)" \ 67 LCMS_PYEXECDIR="${EPREFIX}$(python_get_sitedir)" \
68 LCMS_PYINCLUDE="$(python_get_includedir)" \ 68 LCMS_PYINCLUDE="${EPREFIX}$(python_get_includedir)" \
69 LCMS_PYLIB="$(python_get_libdir)" \ 69 LCMS_PYLIB="${EPREFIX}$(python_get_libdir)" \
70 PYTHON_VERSION="$(python_get_version)" 70 PYTHON_VERSION="$(python_get_version)"
71 } 71 }
72 python_execute_function -s --source-dir python building 72 python_execute_function -s --source-dir python building
73 fi 73 fi
74} 74}
75 75
76src_install() { 76src_install() {
77 emake \ 77 emake \
78 DESTDIR="${D}" \ 78 DESTDIR="${D}" \
79 BINDIR="${D}"/usr/bin \ 79 BINDIR="${ED}"/usr/bin \
80 libdir=/usr/$(get_libdir) \ 80 libdir="${EPREFIX}"/usr/$(get_libdir) \
81 install || die 81 install || die
82 82
83 if use python; then 83 if use python; then
84 installation() { 84 installation() {
85 emake \ 85 emake \
86 DESTDIR="${D}" \ 86 DESTDIR="${D}" \
87 LCMS_PYEXECDIR="$(python_get_sitedir)" \ 87 LCMS_PYEXECDIR="${EPREFIX}$(python_get_sitedir)" \
88 LCMS_PYLIB="$(python_get_libdir)" \ 88 LCMS_PYLIB="${EPREFIX}$(python_get_libdir)" \
89 PYTHON_VERSION="$(python_get_version)" \ 89 PYTHON_VERSION="$(python_get_version)" \
90 install 90 install
91 } 91 }
92 python_execute_function -s --source-dir python installation 92 python_execute_function -s --source-dir python installation
93 93

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20