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

Diff of /media-libs/libpng/libpng-1.2.5-r1.ebuild

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

Revision 1.2 Revision 1.3
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.2.5-r1.ebuild,v 1.2 2002/12/22 21:21:37 mholzer Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/Attic/libpng-1.2.5-r1.ebuild,v 1.3 2002/12/22 22:12:30 foser Exp $
4
5inherit flag-o-matic
4 6
5S=${WORKDIR}/${P} 7S=${WORKDIR}/${P}
6DESCRIPTION="Portable Network Graphics library" 8DESCRIPTION="Portable Network Graphics library"
7SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" 9SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
8HOMEPAGE="http://www.libpng.org/" 10HOMEPAGE="http://www.libpng.org/"
12KEYWORDS="x86 ~ppc ~sparc ~alpha" 14KEYWORDS="x86 ~ppc ~sparc ~alpha"
13 15
14DEPEND="sys-libs/zlib" 16DEPEND="sys-libs/zlib"
15 17
16src_compile() { 18src_compile() {
19 replace-flags "-march=k6*" "-march=i586"
20
17 sed -e "s:ZLIBLIB=.*:ZLIBLIB=/usr/lib:" \ 21 sed -e "s:ZLIBLIB=.*:ZLIBLIB=/usr/lib:" \
18 -e "s:ZLIBINC=.*:ZLIBINC=/usr/include:" \ 22 -e "s:ZLIBINC=.*:ZLIBINC=/usr/include:" \
19 -e "s/-O3/${CFLAGS}/" \ 23 -e "s/-O3/${CFLAGS}/" \
20 -e "s:prefix=/usr/local:prefix=/usr:" \ 24 -e "s:prefix=/usr/local:prefix=/usr:" \
21 -e "s:OBJSDLL = :OBJSDLL = -lz -lm :" \ 25 -e "s:OBJSDLL = :OBJSDLL = -lz -lm :" \

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

  ViewVC Help
Powered by ViewVC 1.1.20