From c5914d20f4a5739de78ecb8e413eb2995d1dbfaa Mon Sep 17 00:00:00 2001 From: Mike Frysinger <vapier@gentoo.org> Date: Tue, 19 Feb 2008 01:00:39 +0000 Subject: Version bump. (Portage version: 2.2_pre2) --- media-libs/libpng/ChangeLog | 9 +++++++-- media-libs/libpng/libpng-1.2.25.ebuild | 36 ++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 media-libs/libpng/libpng-1.2.25.ebuild (limited to 'media-libs/libpng') diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog index a61bf763aac1..0087d6f5fe76 100644 --- a/media-libs/libpng/ChangeLog +++ b/media-libs/libpng/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/libpng -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.173 2007/12/14 18:50:06 vapier Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.174 2008/02/19 01:00:39 vapier Exp $ + +*libpng-1.2.25 (19 Feb 2008) + + 19 Feb 2008; Mike Frysinger <vapier@gentoo.org> +libpng-1.2.25.ebuild: + Version bump. *libpng-1.2.24 (14 Dec 2007) diff --git a/media-libs/libpng/libpng-1.2.25.ebuild b/media-libs/libpng/libpng-1.2.25.ebuild new file mode 100644 index 000000000000..2d133c01a113 --- /dev/null +++ b/media-libs/libpng/libpng-1.2.25.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.25.ebuild,v 1.1 2008/02/19 01:00:39 vapier Exp $ + +inherit libtool multilib eutils + +DESCRIPTION="Portable Network Graphics library" +HOMEPAGE="http://www.libpng.org/" +SRC_URI="mirror://sourceforge/libpng/${P}.tar.bz2" + +LICENSE="as-is" +SLOT="1.2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="sys-libs/zlib" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-1.2.24-pngconf-setjmp.patch + # So we get sane .so versioning on FreeBSD + elibtoolize +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc ANNOUNCE CHANGES KNOWNBUG README TODO Y2KINFO +} + +pkg_postinst() { + # the libpng authors really screwed around between 1.2.1 and 1.2.3 + if [[ -f ${ROOT}/usr/$(get_libdir)/libpng.so.3.1.2.1 ]] ; then + rm -f "${ROOT}"/usr/$(get_libdir)/libpng.so.3.1.2.1 + fi +} -- cgit v1.2.3-65-gdbad