summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2001-10-13 04:33:21 +0000
committerDaniel Robbins <drobbins@gentoo.org>2001-10-13 04:33:21 +0000
commitbac5c7a96070b398a25e19d6b187c36f81a9bdc6 (patch)
tree385987f68e1df86db93403beb1372a247193526b /media-libs/libpng
parentadded gtk-addons (diff)
downloadgentoo-2-bac5c7a96070b398a25e19d6b187c36f81a9bdc6.tar.gz
gentoo-2-bac5c7a96070b398a25e19d6b187c36f81a9bdc6.tar.bz2
gentoo-2-bac5c7a96070b398a25e19d6b187c36f81a9bdc6.zip
A= fixes
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/libpng-1.0.12.ebuild31
1 files changed, 10 insertions, 21 deletions
diff --git a/media-libs/libpng/libpng-1.0.12.ebuild b/media-libs/libpng/libpng-1.0.12.ebuild
index 986b32e788df..67d69de06890 100644
--- a/media-libs/libpng/libpng-1.0.12.ebuild
+++ b/media-libs/libpng/libpng-1.0.12.ebuild
@@ -1,35 +1,24 @@
-# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.0.12.ebuild,v 1.1 2001/06/21 20:48:16 achim Exp $
+# Maintainer: Desktop Team <desktop@gentoo.org>
+# Author: Achim Gottinger <achim@gentoo.org>, Daniel Robbins <drobbins@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.0.12.ebuild,v 1.2 2001/10/13 04:33:21 drobbins Exp $
-A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="libpng"
-SRC_URI="ftp://swrinde.nde.swri.edu/pub/png/src/${A}"
+SRC_URI="ftp://swrinde.nde.swri.edu/pub/png/src/${P}.tar.gz"
HOMEPAGE="http://www.libpng.org/"
DEPEND=">=sys-libs/zlib-1.1.3-r2"
src_compile() {
-
- sed -e "s:ZLIBLIB=../zlib:ZLIBLIB=/usr/lib:" \
- -e "s:ZLIBINC=../zlib:ZLIBINC=/usr/include:" \
- -e "s:prefix=/usr:prefix=${D}/usr:" \
- -e "s/-O3/${CFLAGS}/" \
- scripts/makefile.linux > Makefile
- try make
+ sed -e "s:ZLIBLIB=../zlib:ZLIBLIB=/usr/lib:" -e "s:ZLIBINC=../zlib:ZLIBINC=/usr/include:" -e "s:prefix=/usr:prefix=${D}/usr:" -e "s/-O3/${CFLAGS}/" scripts/makefile.linux > Makefile
+ make || die
}
-
src_install() {
-
- dodir /usr/{include,lib}
-
- try make install prefix=${D}/usr
-
- doman *.[35]
-
+ dodir /usr/{include,lib}
+ make install prefix=${D}/usr || die
+ doman *.[35]
dodoc ANNOUNCE CHANGES KNOWNBUG LICENSE README TODO Y2KINFO
-
}