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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jun 5 05:19:39 2002 UTC (12 years, 3 months ago) by seemant
Branch: MAIN
Changes since 1.1: +7 -2 lines
small fix0r

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 # $Header: /home/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.3.ebuild,v 1.1 2002/05/26 11:20:19 seemant 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 SLOT="1.2"
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/-O3/${CFLAGS}/" \
18 -e "s:prefix=/usr/local:prefix=/usr:" \
19 scripts/makefile.linux > Makefile
20
21 emake || die
22 }
23
24 src_install() {
25 dodir /usr/{include,lib}
26 dodir /usr/share/man
27 make \
28 DESTDIR=${D} \
29 MANPATH=/usr/share/man \
30 install || die
31
32 # rm ${D}/usr/lib/libpng.so
33 # rm ${D}/usr/lib/libpng.a
34 # rm ${D}/usr/include/png.h
35 # rm ${D}/usr/include/pngconf.h
36
37 doman *.[35]
38 dodoc ANNOUNCE CHANGES KNOWNBUG LICENSE README TODO Y2KINFO
39 }

  ViewVC Help
Powered by ViewVC 1.1.20