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

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

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

Revision 1.1 Revision 1.2
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
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.8.ebuild,v 1.1 2005/01/03 21:58:47 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/Attic/libpng-1.2.8.ebuild,v 1.2 2005/01/19 04:46:40 gongloo Exp $
4 4
5inherit flag-o-matic eutils toolchain-funcs 5inherit flag-o-matic eutils toolchain-funcs
6 6
7DESCRIPTION="Portable Network Graphics library" 7DESCRIPTION="Portable Network Graphics library"
8HOMEPAGE="http://www.libpng.org/" 8HOMEPAGE="http://www.libpng.org/"
34 -e '/^ZLIBINC=/s:=.*:=/usr/include:' \ 34 -e '/^ZLIBINC=/s:=.*:=/usr/include:' \
35 -e "s:-O3:${CFLAGS}:" \ 35 -e "s:-O3:${CFLAGS}:" \
36 -e '/^prefix=/s:/local::' \ 36 -e '/^prefix=/s:/local::' \
37 -e '/^MANPATH=/s:/man:/share/man:' \ 37 -e '/^MANPATH=/s:/man:/share/man:' \
38 -e "/^LIBPATH=/s:/lib:/$(get_libdir):" \ 38 -e "/^LIBPATH=/s:/lib:/$(get_libdir):" \
39 -e '/^OBJSDLL =/s:=:= -lz -lm :' \
40 -e 's:mkdir:mkdir -p:' \ 39 -e 's:mkdir:mkdir -p:' \
41 ${makefilein} > Makefile 40 ${makefilein} > Makefile
41 use ppc-macos || sed -i -e '/^OBJSDLL =/s:=:= -lz -lm :' Makefile
42} 42}
43 43
44src_compile() { 44src_compile() {
45 emake \ 45 emake \
46 CC="$(tc-getCC)" \ 46 CC="$(tc-getCC)" \

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

  ViewVC Help
Powered by ViewVC 1.1.20