From 3601c431ee76e490681e0da07fa984a1872d02f3 Mon Sep 17 00:00:00 2001 From: Peter Volkov Date: Wed, 5 Nov 2008 12:48:56 +0000 Subject: Updated patch level, made revision smaller to avoid updates to this version... svn path=/; revision=210 --- media-libs/jpeg/jpeg-6b-r7.ebuild | 48 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 media-libs/jpeg/jpeg-6b-r7.ebuild (limited to 'media-libs/jpeg/jpeg-6b-r7.ebuild') diff --git a/media-libs/jpeg/jpeg-6b-r7.ebuild b/media-libs/jpeg/jpeg-6b-r7.ebuild new file mode 100644 index 0000000..3037ea1 --- /dev/null +++ b/media-libs/jpeg/jpeg-6b-r7.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-6b-r7.ebuild,v 1.15 2006/09/04 03:59:21 kumba Exp $ + +inherit libtool eutils toolchain-funcs + +PATCH_VER="1.6" +DESCRIPTION="Library to load, handle and manipulate images in the JPEG format" +HOMEPAGE="http://www.ijg.org/" +SRC_URI="ftp://ftp.uu.net/graphics/jpeg/${PN}src.v${PV}.tar.gz + mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="-*" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + >=sys-devel/libtool-1.5.10-r4" + +src_unpack() { + unpack ${A} + cd "${S}" + EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch + cat "${FILESDIR}/jdhuff_add.c" >> jdhuff.c || die "oldjpeg support failed." + elibtoolize +} + +src_compile() { + tc-export CC RANLIB AR + econf \ + --enable-shared \ + --enable-static \ + --enable-maxmem=64 \ + || die "econf failed" + emake || die "make failed" + emake -C "${WORKDIR}"/extra || die "make extra failed" +} + +src_install() { + emake install DESTDIR="${D}" || die "install" + emake -C "${WORKDIR}"/extra install DESTDIR="${D}" || die "install extra" + + dodoc README install.doc usage.doc wizard.doc change.log \ + libjpeg.doc example.c structure.doc filelist.doc \ + coderules.doc +} -- cgit v1.2.3-65-gdbad