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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

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 src_unpack() {
13 unpack ${P}.tar.gz
14 cd ${S}
15 }
16
17 src_compile() {
18 cd ${S}
19 sed -e "s:ZLIBLIB=../zlib:ZLIBLIB=/usr/lib:" \
20 -e "s:ZLIBINC=../zlib:ZLIBINC=/usr/include:" \
21 -e "s:prefix=/usr:prefix=${D}/usr:" \
22 -e "s/-O3/${CFLAGS}/" \
23 scripts/makefile.linux > Makefile
24 try make
25 }
26
27
28 src_install() {
29 cd ${S}
30 mkdir ${D}/usr
31 mkdir ${D}/usr/include
32 mkdir ${D}/usr/lib
33 try make install prefix=${D}/usr
34 into /usr
35 doman *.3 *.5
36 dodoc ANNOUNCE CHANGES KNOWNBUG LICENSE README TODO Y2KINFO
37 }

  ViewVC Help
Powered by ViewVC 1.1.20