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

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

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

Revision 1.2 Revision 1.3
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.5.2.ebuild,v 1.2 2011/04/26 17:32:40 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/Attic/libpng-1.5.2.ebuild,v 1.3 2011/05/03 13:20:04 scarabeus Exp $
4 4
5EAPI="3" 5EAPI=4
6 6
7inherit eutils libtool multilib 7inherit eutils libtool multilib
8 8
9DESCRIPTION="Portable Network Graphics library" 9DESCRIPTION="Portable Network Graphics library"
10HOMEPAGE="http://www.libpng.org/" 10HOMEPAGE="http://www.libpng.org/"
18 18
19RDEPEND="sys-libs/zlib" 19RDEPEND="sys-libs/zlib"
20DEPEND="${RDEPEND} 20DEPEND="${RDEPEND}
21 app-arch/xz-utils" 21 app-arch/xz-utils"
22 22
23DOCS=( ANNOUNCE CHANGES libpng-manual.txt README TODO )
24
23src_prepare() { 25src_prepare() {
24 use apng && epatch "${WORKDIR}"/${P}-apng.patch 26 use apng && epatch "${WORKDIR}"/${P}-apng.patch
25 elibtoolize 27 elibtoolize
26} 28}
27 29
30 --disable-dependency-tracking \ 32 --disable-dependency-tracking \
31 $(use_enable static-libs static) 33 $(use_enable static-libs static)
32} 34}
33 35
34src_install() { 36src_install() {
35 emake DESTDIR="${D}" install || die 37 default
36 dodoc ANNOUNCE CHANGES libpng-manual.txt README TODO
37
38 find "${ED}" -name '*.la' -exec rm -f {} + 38 find "${ED}" -name '*.la' -exec rm -f {} +
39} 39}
40 40
41pkg_preinst() { 41pkg_preinst() {
42# has_version ${CATEGORY}/${PN}:1.4 && return 0 42# has_version ${CATEGORY}/${PN}:1.4 && return 0

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

  ViewVC Help
Powered by ViewVC 1.1.20