summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-10-25 16:50:16 +0000
committerMike Frysinger <vapier@gentoo.org>2002-10-25 16:50:16 +0000
commite29a7bf21792d4fee68f086afb61d30bb805b279 (patch)
treedeefdde1f01bf545abea58eae79711372e567a64 /media-libs/libpng
parentnotice about newer versions of uml living under dev-util/umbrello (diff)
downloadgentoo-2-e29a7bf21792d4fee68f086afb61d30bb805b279.tar.gz
gentoo-2-e29a7bf21792d4fee68f086afb61d30bb805b279.tar.bz2
gentoo-2-e29a7bf21792d4fee68f086afb61d30bb805b279.zip
Version bump per #9651
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/ChangeLog7
-rw-r--r--media-libs/libpng/files/digest-libpng-1.2.51
-rw-r--r--media-libs/libpng/libpng-1.2.5.ebuild46
3 files changed, 53 insertions, 1 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog
index 063bcc5ded20..894dda32dfc3 100644
--- a/media-libs/libpng/ChangeLog
+++ b/media-libs/libpng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libpng
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.10 2002/07/09 08:14:28 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.11 2002/10/25 16:50:16 vapier Exp $
+
+*libpng-1.2.5 (25 Oct 2002)
+
+ 25 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
+ Version bump per #9651
*libpng-1.2.4 libpng-1.2.3-r1 (09 Jul 2002)
diff --git a/media-libs/libpng/files/digest-libpng-1.2.5 b/media-libs/libpng/files/digest-libpng-1.2.5
new file mode 100644
index 000000000000..eb9a3af9b6a9
--- /dev/null
+++ b/media-libs/libpng/files/digest-libpng-1.2.5
@@ -0,0 +1 @@
+MD5 0cec860559f2f5f7145da3c6851bacb7 libpng-1.2.5.tar.gz 505988
diff --git a/media-libs/libpng/libpng-1.2.5.ebuild b/media-libs/libpng/libpng-1.2.5.ebuild
new file mode 100644
index 000000000000..9c9820283daa
--- /dev/null
+++ b/media-libs/libpng/libpng-1.2.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.5.ebuild,v 1.1 2002/10/25 16:50:16 vapier 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.2"
+LICENSE="as-is"
+KEYWORDS="x86 ppc sparc sparc64 alpha"
+
+DEPEND=">=sys-libs/zlib-1.1.4"
+
+src_compile() {
+ sed -e "s:ZLIBLIB=../zlib:ZLIBLIB=/usr/lib:" \
+ -e "s:ZLIBINC=../zlib:ZLIBINC=/usr/include:" \
+ -e "s/-O3/${CFLAGS}/" \
+ -e "s:prefix=/usr/local:prefix=/usr:" \
+ scripts/makefile.linux > Makefile
+
+ emake || die
+}
+
+src_install() {
+ dodir /usr/{include,lib}
+ dodir /usr/share/man
+ make \
+ DESTDIR=${D} \
+ MANPATH=/usr/share/man \
+ install || die
+
+# rm ${D}/usr/lib/libpng.so
+# rm ${D}/usr/lib/libpng.a
+# rm ${D}/usr/include/png.h
+# rm ${D}/usr/include/pngconf.h
+
+ doman *.[35]
+ dodoc ANNOUNCE CHANGES KNOWNBUG LICENSE README TODO Y2KINFO
+}
+
+pkg_postinst() {
+ # the libpng authors really screwed around between 1.2.1 and 1.2.3
+ [ -f /usr/lib/libpng.so.3.1.2.1 ] && rm /usr/lib/libpng.so.3.1.2.1
+}