diff options
Diffstat (limited to 'media-libs/libpng/libpng-1.0.15.ebuild')
-rw-r--r-- | media-libs/libpng/libpng-1.0.15.ebuild | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/media-libs/libpng/libpng-1.0.15.ebuild b/media-libs/libpng/libpng-1.0.15.ebuild deleted file mode 100644 index 3f40bee2cea7..000000000000 --- a/media-libs/libpng/libpng-1.0.15.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.0.15.ebuild,v 1.6 2004/03/19 07:56:04 mr_bones_ Exp $ - -inherit flag-o-matic eutils - -S=${WORKDIR}/${P} -DESCRIPTION="Portable Networks Graphics library." -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" -HOMEPAGE="http://www.libpng.org/" -SLOT="1.0" -LICENSE="as-is" -KEYWORDS="x86 ~ppc ~sparc" - -DEPEND=">=sys-libs/zlib-1.1.3-r2" - -src_unpack() { - unpack ${A} - cd ${S} - - epatch ${FILESDIR}/${P}-gentoo.diff - - replace-flags "-march=k6-3" "-march=i586" - replace-flags "-march=k6-2" "-march=i586" - replace-flags "-march=k6" "-march=i586" - - sed -e "s:ZLIBLIB=../zlib:ZLIBLIB=/usr/lib:" \ - -e "s:ZLIBINC=../zlib:ZLIBINC=/usr/include:" \ - -e "s:prefix=/usr:prefix=${D}/usr:" \ - -e "s:-O3:${CFLAGS}:" \ - scripts/makefile.linux > Makefile -} - -src_compile() { - make || die -} - -src_install() { - dodir /usr/{include,lib} - make install prefix=${D}/usr || die - - newman libpngpf.3 libpngpf-10.3 - newman libpng.3 libpng-10.3 - newman png.5 png-10.5 - - # remove stuffs so that libpng-1.2 is the system default - rm ${D}/usr/bin/libpng-config - rm ${D}/usr/lib/libpng.{a,so} - rm ${D}/usr/include/{png.h,pngconf.h,libpng} - rm -rf ${D}/usr/man - - dodoc ANNOUNCE CHANGES KNOWNBUG LICENSE README TODO Y2KINFO -} - -pkg_postinst() { - einfo "Please note:" - einfo "previous versions of libpng-1.0 series were incorrectly overwriting png.h symlink" - einfo "from libpng-1.2.x installation." - einfo "This might cause removal of png.h by autoclean after you updated libpng-1.0 to 1.0.15" - einfo "" - einfo "If you experience problems compiling other packages with error message complaining" - einfo "about missing png.h, please remerge libpng-1.2.5 manually" -} |