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

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

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

Revision 1.3 Revision 1.4
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2002 Gentoo Technologies, Inc.
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.0.15.ebuild,v 1.3 2003/01/16 17:06:58 seemant Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/Attic/libpng-1.0.15.ebuild,v 1.4 2003/01/20 00:11:11 george Exp $
4 4
5inherit flag-o-matic eutils 5inherit flag-o-matic eutils
6 6
7S=${WORKDIR}/${P} 7S=${WORKDIR}/${P}
8DESCRIPTION="Portable Networks Graphics library." 8DESCRIPTION="Portable Networks Graphics library."
36} 36}
37 37
38src_install() { 38src_install() {
39 dodir /usr/{include,lib} 39 dodir /usr/{include,lib}
40 make install prefix=${D}/usr || die 40 make install prefix=${D}/usr || die
41 41
42 newman libpngpf.3 libpngpf-10.3 42 newman libpngpf.3 libpngpf-10.3
43 newman libpng.3 libpng-10.3 43 newman libpng.3 libpng-10.3
44 newman png.5 png-10.5 44 newman png.5 png-10.5
45 45
46 # remove stuffs so that libpng-1.2 is the system default 46 # remove stuffs so that libpng-1.2 is the system default
47 rm ${D}/usr/bin/libpng-config 47 rm ${D}/usr/bin/libpng-config
48 rm ${D}/usr/lib/libpng.{a,so} 48 rm ${D}/usr/lib/libpng.{a,so}
49 rm ${D}/usr/include/{png.h,pngconf.h,libpng} 49 rm ${D}/usr/include/{png.h,pngconf.h,libpng}
50 rm -rf ${D}/usr/man 50 rm -rf ${D}/usr/man
51 51
52 dodoc ANNOUNCE CHANGES KNOWNBUG LICENSE README TODO Y2KINFO 52 dodoc ANNOUNCE CHANGES KNOWNBUG LICENSE README TODO Y2KINFO
53} 53}
54
55pkg_postinst() {
56 einfo "Please note:"
57 einfo "previous versions of libpng-1.0 series were incorrectly overwriting png.h symlink"
58 einfo "from libpng-1.2.x installation."
59 einfo "This might cause removal of png.h by autoclean after you updated libpng-1.0 to 1.0.15"
60 einfo ""
61 einfo "If you experience problems compiling other packages with error message complaining"
62 einfo "about missing png.h, please remerge libpng-1.2.5 manually"
63}

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

  ViewVC Help
Powered by ViewVC 1.1.20