diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-09-23 03:50:36 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-09-23 03:50:36 +0000 |
commit | a9db7455c36667a3e85edb16eb925703647456c0 (patch) | |
tree | ac0c94a548f4494f51f8edb0cb33d2b66163b5c9 /media-libs | |
parent | s390 KEYWORD for security #63995 (Manifest recommit) (diff) | |
download | gentoo-2-a9db7455c36667a3e85edb16eb925703647456c0.tar.gz gentoo-2-a9db7455c36667a3e85edb16eb925703647456c0.tar.bz2 gentoo-2-a9db7455c36667a3e85edb16eb925703647456c0.zip |
old
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libpng/files/digest-libpng-1.2.5-r7 | 1 | ||||
-rw-r--r-- | media-libs/libpng/libpng-1.2.5-r7.ebuild | 65 |
2 files changed, 0 insertions, 66 deletions
diff --git a/media-libs/libpng/files/digest-libpng-1.2.5-r7 b/media-libs/libpng/files/digest-libpng-1.2.5-r7 deleted file mode 100644 index 794c1d47d26f..000000000000 --- a/media-libs/libpng/files/digest-libpng-1.2.5-r7 +++ /dev/null @@ -1 +0,0 @@ -MD5 3fc28af730f12ace49b14568de4ad934 libpng-1.2.5.tar.bz2 378030 diff --git a/media-libs/libpng/libpng-1.2.5-r7.ebuild b/media-libs/libpng/libpng-1.2.5-r7.ebuild deleted file mode 100644 index 5847d458dd2d..000000000000 --- a/media-libs/libpng/libpng-1.2.5-r7.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.5-r7.ebuild,v 1.6 2004/09/22 05:29:12 usata Exp $ - -inherit flag-o-matic eutils gcc - -DESCRIPTION="Portable Network Graphics library" -HOMEPAGE="http://www.libpng.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="as-is" -SLOT="1.2" -KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64 ppc64 s390 macos ppc-macos" -IUSE="" - -DEPEND="sys-libs/zlib" - -src_unpack() { - unpack ${A} - cd ${S} - - - epatch ${FILESDIR}/${P}-gentoo.diff - - ( use macos || use ppc-macos ) && epatch ${FILESDIR}/macos.patch # implements strnlen - - [ "`gcc-version`" == "3.2" ] && replace-cpu-flags i586 k6 k6-2 k6-3 - [ "`gcc-version`" == "3.3" ] && replace-cpu-flags i586 k6 k6-2 k6-3 - - sed \ - -e "s:ZLIBLIB=.*:ZLIBLIB=/usr/lib:" \ - -e "s:ZLIBINC=.*:ZLIBINC=/usr/include:" \ - -e "s:-O3:${CFLAGS}:" \ - -e "s:prefix=/usr/local:prefix=/usr:" \ - -e "s:OBJSDLL = :OBJSDLL = -lz -lm :" \ - scripts/makefile.linux > Makefile - - if use macos || use ppc-macos ; then - einfo "Patching the source for Mac OS X / Darwin compatibility" - sed \ - -e "s:ZLIBLIB=.*:ZLIBLIB=/usr/lib:" \ - -e "s:ZLIBINC=.*:ZLIBINC=/usr/include:" \ - -e "s:-O3:${CFLAGS}:" \ - -e "s:prefix=/usr/local:prefix=/usr:" \ - scripts/makefile.darwin > Makefile - fi -} - -src_compile() { - emake CC="$(gcc-getCC)" CXX="$(gcc-getCXX)" || die "Make failed" -} - -src_install() { - dodir /usr/{include,lib} - dodir /usr/share/man - einstall MANPATH=${D}/usr/share/man || die "Failed to install" - - doman libpng.3 libpngpf.3 png.5 - dodoc ANNOUNCE CHANGES KNOWNBUG README TODO Y2KINFO -} - -pkg_postinst() { - # the libpng authors really screwed around between 1.2.1 and 1.2.3 - [ -f ${ROOT}/usr/lib/libpng.so.3.1.2.1 ] && rm ${ROOT}/usr/lib/libpng.so.3.1.2.1 -} |