/[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.4 Revision 1.5
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2003 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.4 2003/01/20 00:11:11 george Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/Attic/libpng-1.0.15.ebuild,v 1.5 2003/02/10 07:42:57 seemant 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."
25 replace-flags "-march=k6" "-march=i586" 25 replace-flags "-march=k6" "-march=i586"
26 26
27 sed -e "s:ZLIBLIB=../zlib:ZLIBLIB=/usr/lib:" \ 27 sed -e "s:ZLIBLIB=../zlib:ZLIBLIB=/usr/lib:" \
28 -e "s:ZLIBINC=../zlib:ZLIBINC=/usr/include:" \ 28 -e "s:ZLIBINC=../zlib:ZLIBINC=/usr/include:" \
29 -e "s:prefix=/usr:prefix=${D}/usr:" \ 29 -e "s:prefix=/usr:prefix=${D}/usr:" \
30 -e "s/-O3/${CFLAGS}/" \ 30 -e "s:-O3:${CFLAGS}:" \
31 scripts/makefile.linux > Makefile 31 scripts/makefile.linux > Makefile
32} 32}
33 33
34src_compile() { 34src_compile() {
35 make || die 35 make || die

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

  ViewVC Help
Powered by ViewVC 1.1.20