diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-28 03:46:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-28 03:46:41 +0000 |
commit | 13dbb8782f42e09cd08c3b120d481b10674ad8b2 (patch) | |
tree | cc750c1ce8460cc723d6e555889887faa5ed1686 /media-libs/jpeg-mmx/jpeg-mmx-0.1.6.ebuild | |
parent | 2.10 stable x86 (diff) | |
download | gentoo-2-13dbb8782f42e09cd08c3b120d481b10674ad8b2.tar.gz gentoo-2-13dbb8782f42e09cd08c3b120d481b10674ad8b2.tar.bz2 gentoo-2-13dbb8782f42e09cd08c3b120d481b10674ad8b2.zip |
Version 1.1.2 was a typo and broken so clean up and add latest version #55353.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-libs/jpeg-mmx/jpeg-mmx-0.1.6.ebuild')
-rw-r--r-- | media-libs/jpeg-mmx/jpeg-mmx-0.1.6.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/jpeg-mmx/jpeg-mmx-0.1.6.ebuild b/media-libs/jpeg-mmx/jpeg-mmx-0.1.6.ebuild new file mode 100644 index 000000000000..574d6fd89a82 --- /dev/null +++ b/media-libs/jpeg-mmx/jpeg-mmx-0.1.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg-mmx/jpeg-mmx-0.1.6.ebuild,v 1.1 2005/07/28 03:46:40 vapier Exp $ + +inherit eutils + +DESCRIPTION="JPEG library with mmx enhancements" +HOMEPAGE="http://mjpeg.sourceforge.net/" +SRC_URI="mirror://sourceforge/mjpeg/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="-* x86" +IUSE="" + +DEPEND="dev-lang/nasm" +RDEPEND="" + +S=${WORKDIR}/jpeg-mmx + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-PIC.patch + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + econf \ + --include-dir=/usr/include/jpeg-mmx \ + --enable-shared \ + --enable-static \ + || die "configure failed" + emake || die "make failed" +} + +src_install() { + dodir /usr/include/jpeg-mmx + make install-headers prefix="${D}"/usr || die "headers" + + for x in cjpeg djpeg jpegtran ; do + newbin .libs/${x} ${x}-mmx || die "dobin ${x}" + done + + dolib.a .libs/libjpeg-mmx.a || die "dolib.a" + cp -a .libs/libjpeg-mmx.so* libjpeg-mmx.la "${D}"/usr/lib/ || die "dolib.so" + + dodoc README change.log structure.doc libjpeg.doc +} |