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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Mon Apr 30 10:54:06 2001 UTC (13 years, 2 months ago) by achim
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Cleanup

1 achim 1.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 achim 1.5 # $Header: /home/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.0.8-r1.ebuild,v 1.4 2000/11/01 04:44:17 achim Exp $
5 achim 1.1
6     P=libpng-1.0.8
7     A="${P}.tar.gz"
8     S=${WORKDIR}/${P}
9     DESCRIPTION="libpng"
10     SRC_URI="http://www.libpng.org/pub/png/src/${P}.tar.gz"
11     HOMEPAGE="http://www.libpng.org/"
12 achim 1.4
13     DEPEND=">=sys-libs/glibc-2.1.3
14     >=sys-libs/zlib-1.1.3"
15 achim 1.1
16     src_unpack() {
17     unpack ${P}.tar.gz
18     cd ${S}
19     }
20    
21     src_compile() {
22     cd ${S}
23     sed -e "s:ZLIBLIB=../zlib:ZLIBLIB=/usr/lib:" \
24     -e "s:ZLIBINC=../zlib:ZLIBINC=/usr/include:" \
25     -e "s:prefix=/usr:prefix=${D}/usr:" \
26     -e "s/-O3/${CFLAGS}/" \
27     scripts/makefile.linux > Makefile
28 drobbins 1.3 try make
29 achim 1.1 }
30    
31    
32     src_install() {
33     cd ${S}
34     mkdir ${D}/usr
35     mkdir ${D}/usr/include
36     mkdir ${D}/usr/lib
37 drobbins 1.3 try make install prefix=${D}/usr
38 achim 1.1 into /usr
39     doman *.3 *.5
40     dodoc ANNOUNCE CHANGES KNOWNBUG LICENSE README TODO Y2KINFO
41     }

  ViewVC Help
Powered by ViewVC 1.1.20