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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Feb 13 14:29:41 2001 UTC (13 years, 7 months ago) by achim
Branch: MAIN
Maintainence and FHS 2.1 fixes
Added a lot of USE flags GGI support and lcms support for libmng

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

  ViewVC Help
Powered by ViewVC 1.1.20