summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-06-09 03:54:10 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-06-09 03:54:10 +0000
commitd7b7a51ea34fc0ea44927de38c89625e03d9300d (patch)
tree3e6e63de979916c251ef4d6ab2d0a3d65781da9e /media-libs/libpng
parent3.23.50 has many bugfixes but its still in their -Pre directory (diff)
downloadgentoo-2-d7b7a51ea34fc0ea44927de38c89625e03d9300d.tar.gz
gentoo-2-d7b7a51ea34fc0ea44927de38c89625e03d9300d.tar.bz2
gentoo-2-d7b7a51ea34fc0ea44927de38c89625e03d9300d.zip
cleanup
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/libpng-1.0.12-r1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/media-libs/libpng/libpng-1.0.12-r1.ebuild b/media-libs/libpng/libpng-1.0.12-r1.ebuild
index 2eaff2c67a3e..80217292103d 100644
--- a/media-libs/libpng/libpng-1.0.12-r1.ebuild
+++ b/media-libs/libpng/libpng-1.0.12-r1.ebuild
@@ -2,17 +2,23 @@
# Distributed under the terms of the GNU General Public License, v2 or later
# 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-r1.ebuild,v 1.2 2002/04/27 23:08:36 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.0.12-r1.ebuild,v 1.3 2002/06/09 03:54:10 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="libpng"
SRC_URI="ftp://swrinde.nde.swri.edu/pub/png/src/${P}.tar.gz"
HOMEPAGE="http://www.libpng.org/"
SLOT="1.0"
+LICENSE="GPL-2"
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
+ 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
}