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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Wed Nov 14 14:12:30 2012 UTC (22 months, 2 weeks ago) by jlec
Branch: MAIN
Changes since 1.5: +2 -2 lines
Keyworded for ~linux, tested by me

(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)

1 ssuominen 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 jlec 1.6 # $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.50.ebuild,v 1.5 2012/10/14 18:58:19 armin76 Exp $
4 ssuominen 1.1
5     # this ebuild is only for the libpng12.so.0 SONAME for ABI compat
6    
7     EAPI=4
8    
9     inherit multilib libtool
10    
11     DESCRIPTION="Portable Network Graphics library"
12     HOMEPAGE="http://www.libpng.org/"
13     SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
14    
15 ulm 1.2 LICENSE="libpng"
16 ssuominen 1.1 SLOT="1.2"
17 jlec 1.6 KEYWORDS="~alpha amd64 arm ~hppa ia64 m68k ~mips ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
18 ssuominen 1.1 IUSE=""
19    
20     RDEPEND="sys-libs/zlib
21     !=media-libs/libpng-1.2*:0"
22     DEPEND="${RDEPEND}
23     app-arch/xz-utils"
24    
25     src_prepare() {
26     elibtoolize
27     }
28    
29     src_configure() {
30     econf --disable-static
31     }
32    
33     src_compile() {
34     emake libpng12.la
35     }
36    
37     src_install() {
38     newlib.so .libs/libpng12.so.0.* libpng12.so.0
39     }

  ViewVC Help
Powered by ViewVC 1.1.20