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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (hide annotations) (download)
Sat Sep 17 18:01:14 2011 UTC (2 years, 11 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
[This is a placeholder. Please ignore.]

(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)

1 vapier 1.7 # Copyright 1999-2011 Gentoo Foundation
2 ssuominen 1.1 # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.11 # $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.44.ebuild,v 1.10 2011/07/12 20:18:28 jer Exp $
4 ssuominen 1.1
5     # this ebuild is only for the libpng12.so.0 SONAME for ABI compat
6    
7 vapier 1.7 EAPI="3"
8    
9 ssuominen 1.1 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     LICENSE="as-is"
16     SLOT="1.2"
17 jer 1.10 KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd"
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     pkg_setup() {
26 grobian 1.8 if [[ -e ${EROOT}/usr/$(get_libdir)/libpng12.so.0 ]] ; then
27     rm -f "${EROOT}"/usr/$(get_libdir)/libpng12.so.0
28 ssuominen 1.1 fi
29     }
30    
31     src_prepare() {
32     elibtoolize
33     }
34    
35     src_configure() {
36     econf \
37     --disable-dependency-tracking \
38     --disable-static
39     }
40    
41 vapier 1.7 src_compile() {
42     emake libpng12.la || die
43     }
44    
45 ssuominen 1.1 src_install() {
46 vapier 1.7 newlib.so .libs/libpng12.so.0.* libpng12.so.0 || die
47 ssuominen 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20