/[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 - (show annotations) (download)
Tue Jan 14 08:17:27 2003 UTC (11 years, 11 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
version bump of libpng-10

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $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
5 S=${WORKDIR}/${P}
6 DESCRIPTION="libpng"
7 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
8 HOMEPAGE="http://www.libpng.org/"
9 SLOT="1.0"
10 LICENSE="as-is"
11 KEYWORDS="x86 ppc sparc "
12
13 DEPEND=">=sys-libs/zlib-1.1.3-r2"
14
15
16 src_compile() {
17 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 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