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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Mon Dec 1 15:19:12 2008 UTC (5 years, 11 months ago) by ranger
Branch: MAIN
Changes since 1.5: +2 -2 lines
Marking libpng-1.2.33 ppc64 for bug 244808
(Portage version: 2.2_rc14/cvs/Linux 2.6.24-gentoo-r3-g5-64 ppc64)

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

  ViewVC Help
Powered by ViewVC 1.1.20