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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Dec 21 21:34:00 2008 UTC (6 years ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
old

1 # Copyright 1999-2008 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.26-r1.ebuild,v 1.3 2008/04/30 23:59:00 vapier Exp $
4
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.lzma"
10
11 LICENSE="as-is"
12 SLOT="1.2"
13 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
14 IUSE=""
15
16 RDEPEND="sys-libs/zlib"
17 DEPEND="${RDEPEND}
18 app-arch/lzma-utils"
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23 epatch "${FILESDIR}"/${PN}-1.2.24-pngconf-setjmp.patch
24 epatch "${FILESDIR}"/${P}-CVE-2008-1382.patch #217047
25 # So we get sane .so versioning on FreeBSD
26 elibtoolize
27 }
28
29 src_install() {
30 emake DESTDIR="${D}" install || die
31 dodoc ANNOUNCE CHANGES KNOWNBUG README TODO Y2KINFO
32 }
33
34 pkg_postinst() {
35 # the libpng authors really screwed around between 1.2.1 and 1.2.3
36 if [[ -f ${ROOT}/usr/$(get_libdir)/libpng.so.3.1.2.1 ]] ; then
37 rm -f "${ROOT}"/usr/$(get_libdir)/libpng.so.3.1.2.1
38 fi
39 }

  ViewVC Help
Powered by ViewVC 1.1.20