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

Contents of /media-libs/libpng/libpng-1.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Apr 13 15:31:34 2002 UTC (12 years ago) by verwilst
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
FILE REMOVED
new revisions, removed old ones, added SLOT's

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # Maintainer: Desktop Team <desktop@gentoo.org>
4 # Author: Achim Gottinger <achim@gentoo.org>, Daniel Robbins <drobbins@gentoo.org>
5 # /space/gentoo/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.0.12.ebuild,v 1.2 2001/10/13 04:33:21 drobbins Exp
6
7 S=${WORKDIR}/${P}
8 DESCRIPTION="libpng"
9 SRC_URI="ftp://swrinde.nde.swri.edu/pub/png/src/${P}.tar.gz"
10 HOMEPAGE="http://www.libpng.org/"
11
12 DEPEND=">=sys-libs/zlib-1.1.4"
13
14 src_compile() {
15 sed -e "s:ZLIBLIB=../zlib:ZLIBLIB=/usr/lib:" \
16 -e "s:ZLIBINC=../zlib:ZLIBINC=/usr/include:" \
17 -e "s:prefix=/usr:prefix=${D}/usr:" -e "s/-O3/${CFLAGS}/" \
18 scripts/makefile.linux > Makefile
19
20 make || die
21 }
22
23 src_install() {
24 dodir /usr/{include,lib}
25 make \
26 prefix=${D}/usr \
27 install || die
28
29 doman *.[35]
30 dodoc ANNOUNCE CHANGES KNOWNBUG LICENSE README TODO Y2KINFO
31 }

  ViewVC Help
Powered by ViewVC 1.1.20