blob: 530f5c5bcd3c6d3ae9a14d87327bd48e1043c03d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/jpeg/jpeg-6b-r9.ebuild,v 1.6 2012/12/16 16:12:57 ulm Exp $
# this ebuild is only for the libjpeg.so.62 SONAME for ABI compat
EAPI=4
PATCH_VER=2
inherit eutils libtool multilib toolchain-funcs
DESCRIPTION="library to load, handle and manipulate images in the JPEG format (transition package)"
HOMEPAGE="http://www.ijg.org/"
SRC_URI="mirror://gentoo/jpegsrc.v${PV}.tar.gz
mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2"
LICENSE="IJG"
SLOT="62"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE=""
src_prepare() {
EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
elibtoolize
}
src_configure() {
tc-export CC
econf \
--enable-shared \
--disable-static \
--enable-maxmem=64
}
src_compile() {
emake libjpeg.la
}
src_install() {
exeinto /usr/$(get_libdir)
doexe .libs/libjpeg.so.62
}
|