/[gentoo-x86]/media-libs/libpng/libpng-1.2.50-r1.ebuild
Gentoo

Contents of /media-libs/libpng/libpng-1.2.50-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jul 31 15:56:03 2013 UTC (13 months, 3 weeks ago) by aballier
Branch: MAIN
Changes since 1.1: +4 -2 lines
add the blocker on emul-linux so that it is stacked for baselibs -r4

(Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.50-r1.ebuild,v 1.1 2013/07/31 09:48:55 ssuominen Exp $
4
5 EAPI=5
6
7 # this ebuild is only for the libpng12.so.0 SONAME for ABI compat
8
9 inherit libtool multilib-minimal
10
11 DESCRIPTION="Portable Network Graphics library"
12 HOMEPAGE="http://www.libpng.org/"
13 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
14
15 LICENSE="libpng"
16 SLOT="1.2"
17 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
18 IUSE=""
19
20 RDEPEND=">=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]
21 !=media-libs/libpng-1.2*:0
22 abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r3
23 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
24 DEPEND="${RDEPEND}
25 app-arch/xz-utils"
26
27 src_prepare() {
28 elibtoolize
29 }
30
31 multilib_src_configure() {
32 ECONF_SOURCE=${S} econf --disable-static
33 }
34
35 multilib_src_compile() {
36 emake libpng12.la
37 }
38
39 multilib_src_install() {
40 newlib.so .libs/libpng12.so.0.* libpng12.so.0
41 }

  ViewVC Help
Powered by ViewVC 1.1.20