summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-01-19 21:09:27 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-01-19 21:09:27 +0000
commit3ac8102fe4d406d734c29ebef29ed567f7d1949b (patch)
treef8655f6c2536e6751ebc2a89504c8c803ca86b93 /media-libs
parentKeyword ~amd64 and ~x86, drop old. (diff)
downloadgentoo-2-3ac8102fe4d406d734c29ebef29ed567f7d1949b.tar.gz
gentoo-2-3ac8102fe4d406d734c29ebef29ed567f7d1949b.tar.bz2
gentoo-2-3ac8102fe4d406d734c29ebef29ed567f7d1949b.zip
Install jpegexiforient and exifautotran.
(Portage version: 2.2.0_alpha15/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libjpeg-turbo/ChangeLog6
-rw-r--r--media-libs/libjpeg-turbo/libjpeg-turbo-1.0.90.1.ebuild17
2 files changed, 19 insertions, 4 deletions
diff --git a/media-libs/libjpeg-turbo/ChangeLog b/media-libs/libjpeg-turbo/ChangeLog
index a300efc06635..d89826378c01 100644
--- a/media-libs/libjpeg-turbo/ChangeLog
+++ b/media-libs/libjpeg-turbo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/libjpeg-turbo
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libjpeg-turbo/ChangeLog,v 1.6 2011/01/19 20:58:08 spatz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libjpeg-turbo/ChangeLog,v 1.7 2011/01/19 21:09:27 ssuominen Exp $
+
+ 19 Jan 2011; Samuli Suominen <ssuominen@gentoo.org>
+ libjpeg-turbo-1.0.90.1.ebuild:
+ Install jpegexiforient and exifautotran.
19 Jan 2011; Dror Levin <spatz@gentoo.org> -libjpeg-turbo-1.0.1.ebuild,
libjpeg-turbo-1.0.90.1.ebuild:
diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-1.0.90.1.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-1.0.90.1.ebuild
index 5b6269996d07..0ee31cebfaa2 100644
--- a/media-libs/libjpeg-turbo/libjpeg-turbo-1.0.90.1.ebuild
+++ b/media-libs/libjpeg-turbo/libjpeg-turbo-1.0.90.1.ebuild
@@ -1,13 +1,14 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libjpeg-turbo/libjpeg-turbo-1.0.90.1.ebuild,v 1.3 2011/01/19 20:58:08 spatz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libjpeg-turbo/libjpeg-turbo-1.0.90.1.ebuild,v 1.4 2011/01/19 21:09:27 ssuominen Exp $
EAPI=2
-inherit autotools libtool
+inherit autotools libtool toolchain-funcs
DESCRIPTION="MMX, SSE, and SSE2 SIMD accellerated jpeg library"
HOMEPAGE="http://sourceforge.net/projects/libjpeg-turbo/"
-SRC_URI="http://dev.gentoo.org/~anarchy/dist/${P}.tar.bz2"
+SRC_URI="http://dev.gentoo.org/~anarchy/dist/${P}.tar.bz2
+ mirror://debian/pool/main/libj/libjpeg8/libjpeg8_8b-1.debian.tar.gz"
LICENSE="as-is LGPL-2.1 wxWinLL-3.1"
SLOT="0"
@@ -32,8 +33,18 @@ src_configure() {
$(use_enable static-libs static)
}
+src_compile() {
+ emake || die
+
+ cd ../debian/extra || die
+ emake CC="$(tc-getCC)" CFLAGS="${LDFLAGS} ${CFLAGS}" || die
+}
+
src_install() {
emake DESTDIR="${D}" install || die
dodoc BUILDING.txt ChangeLog.txt example.c README-turbo.txt
find "${D}" -name '*.la' -delete
+
+ cd ../debian/extra || die
+ emake DESTDIR="${D}" prefix=/usr install || die
}