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

Contents of /media-libs/libpng/libpng-1.0.12-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (hide annotations) (download)
Tue Jan 14 08:17:27 2003 UTC (11 years, 7 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
version bump of libpng-10

1 seemant 1.6 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 vapier 1.8 # Distributed under the terms of the GNU General Public License v2
3 seemant 1.11 # $Header: /home/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.0.12-r1.ebuild,v 1.10 2002/12/22 21:21:37 mholzer Exp $
4 verwilst 1.1
5     S=${WORKDIR}/${P}
6     DESCRIPTION="libpng"
7 mholzer 1.10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
8 verwilst 1.1 HOMEPAGE="http://www.libpng.org/"
9     SLOT="1.0"
10 seemant 1.4 LICENSE="as-is"
11 manson 1.9 KEYWORDS="x86 ppc sparc "
12 seemant 1.4
13 verwilst 1.1 DEPEND=">=sys-libs/zlib-1.1.3-r2"
14    
15 seemant 1.3
16 verwilst 1.1 src_compile() {
17 seemant 1.3 sed -e "s:ZLIBLIB=../zlib:ZLIBLIB=/usr/lib:" \
18     -e "s:ZLIBINC=../zlib:ZLIBINC=/usr/include:" \
19     -e "s:prefix=/usr:prefix=${D}/usr:" \
20     -e "s/-O3/${CFLAGS}/" \
21     scripts/makefile.linux > Makefile
22 verwilst 1.1 make || die
23     }
24    
25     src_install() {
26     dodir /usr/{include,lib}
27     make install prefix=${D}/usr || die
28     doman *.[35]
29     dodoc ANNOUNCE CHANGES KNOWNBUG LICENSE README TODO Y2KINFO
30     }

  ViewVC Help
Powered by ViewVC 1.1.20