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

Diff of /media-libs/libpng/libpng-1.4.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/Attic/libpng-1.4.3.ebuild,v 1.10 2010/07/19 01:06:06 josejx Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/Attic/libpng-1.4.3.ebuild,v 1.11 2010/10/26 10:11:36 ssuominen Exp $
4 4
5EAPI=3 5EAPI=3
6inherit eutils libtool multilib prefix 6inherit eutils libtool multilib prefix
7 7
8DESCRIPTION="Portable Network Graphics library" 8DESCRIPTION="Portable Network Graphics library"
29 dodoc ANNOUNCE CHANGES README TODO 29 dodoc ANNOUNCE CHANGES README TODO
30 dosbin "${T}"/libpng-1.4.x-update.sh 30 dosbin "${T}"/libpng-1.4.x-update.sh
31} 31}
32 32
33pkg_preinst() { 33pkg_preinst() {
34 has_version ${CATEGORY}/${PN}:1.2 && return 0
34 preserve_old_lib /usr/$(get_libdir)/libpng12.so.0 35 preserve_old_lib /usr/$(get_libdir)/libpng12.so.0
35} 36}
36 37
37pkg_postinst() { 38pkg_postinst() {
38 elog 39 elog
39 elog "Run ${EPREFIX}/usr/sbin/libpng-1.4.x-update.sh to fix libtool archives (.la)" 40 elog "Run ${EPREFIX}/usr/sbin/libpng-1.4.x-update.sh to fix libtool archives (.la)"
40 elog 41 elog
42
43 has_version ${CATEGORY}/${PN}:1.2 && return 0
41 preserve_old_lib_notify /usr/$(get_libdir)/libpng12.so.0 44 preserve_old_lib_notify /usr/$(get_libdir)/libpng12.so.0
42} 45}

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20