diff options
Diffstat (limited to 'media-libs/libraw/libraw-0.9.1.ebuild')
-rw-r--r-- | media-libs/libraw/libraw-0.9.1.ebuild | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/media-libs/libraw/libraw-0.9.1.ebuild b/media-libs/libraw/libraw-0.9.1.ebuild deleted file mode 100644 index 3b80d8e8337d..000000000000 --- a/media-libs/libraw/libraw-0.9.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/libraw-0.9.1.ebuild,v 1.1 2010/08/22 07:24:56 hollow Exp $ - -EAPI="2" - -inherit eutils - -DESCRIPTION="LibRaw is a library for reading RAW files obtained from digital photo cameras" -HOMEPAGE="http://www.libraw.org/" -SRC_URI="http://www.libraw.org/data/LibRaw-${PV}.tar.gz" - -# Libraw also has it's own license, which is a pdf file and -# can be obtained from here: -# http://www.libraw.org/data/LICENSE.LibRaw.pdf -LICENSE="LGPL-2.1 CDDL" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="lcms openmp examples" - -RDEPEND="" - -S="${WORKDIR}/LibRaw-${PV}" - -src_prepare() { - # Add pkg-config support - epatch "${FILESDIR}/libraw-0.9.1-pkg-config.patch" || die "pkg-config patch failed." - - sed -i -e "s:/usr/local/:${D}usr/:g" \ - -e "/^CFLAGS/ s:-O4:${CFLAGS}:" \ - Makefile || die "Patching the hell out of manual Makefile failed." - - if use lcms; then - sed -i -r '/^#LCMS/ s!^#!!' Makefile || die "Enabling LCMS failed." - sed -i -r -e '/^Libs/ s!$! -llcms!' \ - -e '/^Requires/ s!$! lcms2!' *.pc || die "Adding pkg-config LCMS dependency failed." - fi - - if use openmp; then - sed -i -r '/^CFLAGS/ s!^(.*)$!\1 -fopenmp!' Makefile || die "Enabling OpenMP failed." - sed -i -r '/^Cflags/ s!$! -fopenmp!' *.pc || die "Adding pkg-config OpenMP dependency failed." - fi -} - -src_install() { - # This makefile doesn't even make the directories.. - mkdir -p "${D}usr/include" "${D}usr/lib" "${D}usr/lib/pkgconfig" \ - $(use examples && echo "${D}/usr/bin") || die "Directory making failed." - - emake install \ - $(use examples && echo "install-binaries") || die "Install failed." -} |