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

Diff of /media-libs/libpng/libpng-1.4.8-r2.ebuild

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

Revision 1.1 Revision 1.2
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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.8-r2.ebuild,v 1.1 2011/09/17 17:52:35 ssuominen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/Attic/libpng-1.4.8-r2.ebuild,v 1.2 2011/09/17 17:55:22 ssuominen Exp $
4 4
5# this ebuild is only for the libpng14.so.0 SONAME for ABI compat 5# this ebuild is only for the libpng14.so.0 SONAME for ABI compat
6 6
7EAPI=4 7EAPI=4
8 8
22 !=media-libs/libpng-1.4*:0" 22 !=media-libs/libpng-1.4*:0"
23DEPEND="${RDEPEND} 23DEPEND="${RDEPEND}
24 app-arch/xz-utils" 24 app-arch/xz-utils"
25 25
26pkg_setup() { 26pkg_setup() {
27 if [[ -e ${EROOT}/usr/$(get_libdir)/libpng14.so.0 ]]; then 27 if [[ -e ${EROOT}/usr/$(get_libdir)/libpng14.so.14 ]]; then
28 rm -f "${EROOT}"/usr/$(get_libdir)/libpng14.so.0 28 rm -f "${EROOT}"/usr/$(get_libdir)/libpng14.so.14
29 fi 29 fi
30} 30}
31 31
32src_prepare() { 32src_prepare() {
33 use apng && epatch "${WORKDIR}"/${P}-apng.patch 33 use apng && epatch "${WORKDIR}"/${P}-apng.patch

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20