summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Medinas <metalgod@gentoo.org>2005-08-02 02:19:24 +0000
committerLuis Medinas <metalgod@gentoo.org>2005-08-02 02:19:24 +0000
commiteea38b0b5bff33c1d22db281382a7f67b7a13a41 (patch)
treed60d6e58b342790cfe71ae2e7468e27b9a4d3adf /media-libs/lcms/lcms-1.14-r1.ebuild
parentVersion bump (diff)
downloadgentoo-2-eea38b0b5bff33c1d22db281382a7f67b7a13a41.tar.gz
gentoo-2-eea38b0b5bff33c1d22db281382a7f67b7a13a41.tar.bz2
gentoo-2-eea38b0b5bff33c1d22db281382a7f67b7a13a41.zip
New revisions for remove '--includedir' to make sure the headers are in the right place. Thanks to Hal Engel <hvengel@astound.net> and fix bug #100269 .
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-libs/lcms/lcms-1.14-r1.ebuild')
-rw-r--r--media-libs/lcms/lcms-1.14-r1.ebuild60
1 files changed, 60 insertions, 0 deletions
diff --git a/media-libs/lcms/lcms-1.14-r1.ebuild b/media-libs/lcms/lcms-1.14-r1.ebuild
new file mode 100644
index 000000000000..6ac11d8cd4a3
--- /dev/null
+++ b/media-libs/lcms/lcms-1.14-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/lcms/lcms-1.14-r1.ebuild,v 1.1 2005/08/02 02:19:24 metalgod Exp $
+
+inherit libtool gnuconfig
+
+DESCRIPTION="A lightweight, speed optimized color management engine"
+HOMEPAGE="http://www.littlecms.com/"
+SRC_URI="http://www.littlecms.com/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86"
+IUSE="tiff jpeg zlib python"
+
+DEPEND="tiff? ( media-libs/tiff )
+ jpeg? ( media-libs/jpeg )
+ zlib? ( sys-libs/zlib )
+ python? ( >=dev-lang/python-1.5.2 )"
+RDEPEND="jpeg? ( media-libs/jpeg )
+ python? ( >=dev-lang/python-1.5.2 )"
+
+src_unpack() {
+ unpack ${A}
+
+ # an updated config.sub for the uclibc env
+ gnuconfig_update || die
+ elibtoolize || die "elibtoolize failed"
+
+ # fix build on amd64
+ cd ${S}
+ einfo "Running autoreconf..."
+ use ppc-macos || {
+ libtoolize --copy --force
+ aclocal || die "aclocal failed"
+ autoreconf || die "autoreconf failed"
+ }
+}
+
+src_compile() {
+ econf \
+ --disable-dependency-tracking \
+ `use_with jpeg` \
+ `use_with tiff` \
+ `use_with zlib` \
+ `use_with python` || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make \
+ DESTDIR=${D} \
+ BINDIR=${D}/usr/bin \
+ install || die "make install failed"
+
+ insinto /usr/share/lcms/profiles
+ doins testbed/*.icm
+
+ dodoc AUTHORS README* INSTALL NEWS doc/*
+}