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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Tue Feb 19 17:25:42 2008 UTC (6 years, 4 months ago) by nixnut
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable on ppc wrt bug 210649
(Portage version: 2.1.4.4)

1 ranger 1.2 # Copyright 1999-2008 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 nixnut 1.3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.24.ebuild,v 1.2 2008/02/19 02:28:45 ranger Exp $
4 vapier 1.1
5     inherit libtool multilib eutils
6    
7     DESCRIPTION="Portable Network Graphics library"
8     HOMEPAGE="http://www.libpng.org/"
9     SRC_URI="mirror://sourceforge/libpng/${P}.tar.bz2"
10    
11     LICENSE="as-is"
12     SLOT="1.2"
13 nixnut 1.3 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
14 vapier 1.1 IUSE=""
15    
16     DEPEND="sys-libs/zlib"
17    
18     src_unpack() {
19     unpack ${A}
20     cd "${S}"
21     epatch "${FILESDIR}"/${PN}-1.2.24-pngconf-setjmp.patch
22     # So we get sane .so versioning on FreeBSD
23     elibtoolize
24     }
25    
26     src_install() {
27     emake DESTDIR="${D}" install || die
28     dodoc ANNOUNCE CHANGES KNOWNBUG README TODO Y2KINFO
29     }
30    
31     pkg_postinst() {
32     # the libpng authors really screwed around between 1.2.1 and 1.2.3
33     if [[ -f ${ROOT}/usr/$(get_libdir)/libpng.so.3.1.2.1 ]] ; then
34     rm -f "${ROOT}"/usr/$(get_libdir)/libpng.so.3.1.2.1
35     fi
36     }

  ViewVC Help
Powered by ViewVC 1.1.20