diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-01-14 08:17:29 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-01-14 08:17:29 +0000 |
commit | 7bf61f7992cdcf7680df574d512904b4f664ce57 (patch) | |
tree | bcb1985db9ea68a0738d717314dd508b173619d4 /media-libs/libpng | |
parent | small correction to some dodoc's (diff) | |
download | gentoo-2-7bf61f7992cdcf7680df574d512904b4f664ce57.tar.gz gentoo-2-7bf61f7992cdcf7680df574d512904b4f664ce57.tar.bz2 gentoo-2-7bf61f7992cdcf7680df574d512904b4f664ce57.zip |
version bump of libpng-10
Diffstat (limited to 'media-libs/libpng')
-rw-r--r-- | media-libs/libpng/ChangeLog | 11 | ||||
-rw-r--r-- | media-libs/libpng/files/digest-libpng-1.0.12-r1 | 1 | ||||
-rw-r--r-- | media-libs/libpng/files/digest-libpng-1.0.15 | 1 | ||||
-rw-r--r-- | media-libs/libpng/libpng-1.0.15.ebuild (renamed from media-libs/libpng/libpng-1.0.12-r1.ebuild) | 28 |
4 files changed, 34 insertions, 7 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog index 3d117cfbf222..b69824a2896a 100644 --- a/media-libs/libpng/ChangeLog +++ b/media-libs/libpng/ChangeLog @@ -1,6 +1,15 @@ # 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.17 2003/01/08 14:26:45 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.18 2003/01/14 08:17:27 seemant Exp $ + +*libpng-1.0.15 (14 Jan 2003) + + 14 Jan 2003; Seemant Kulleen <seemant@gentoo.org> libpng-1.0.15.ebuild + files/digest-libpng-1.0.15 : + + Version bump of the libpng-10 series. This should not clobber libpng-12 + from being the default. Closes bug #10726 by : jk@xylema.org (John Kozak) + *libpng-1.2.5-r2 (08 Jan 2003) *libpng-1.0.12-r2 (08 Jan 2003) diff --git a/media-libs/libpng/files/digest-libpng-1.0.12-r1 b/media-libs/libpng/files/digest-libpng-1.0.12-r1 deleted file mode 100644 index bce57ca614dc..000000000000 --- a/media-libs/libpng/files/digest-libpng-1.0.12-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 b0878f194188dd543e99650e190220b6 libpng-1.0.12.tar.bz2 356932 diff --git a/media-libs/libpng/files/digest-libpng-1.0.15 b/media-libs/libpng/files/digest-libpng-1.0.15 new file mode 100644 index 000000000000..431976f6d0ef --- /dev/null +++ b/media-libs/libpng/files/digest-libpng-1.0.15 @@ -0,0 +1 @@ +MD5 69569534bd0d6a9443189ba56cd89ef3 libpng-1.0.15.tar.bz2 374743 diff --git a/media-libs/libpng/libpng-1.0.12-r1.ebuild b/media-libs/libpng/libpng-1.0.15.ebuild index 30f0c5bdf67f..51cfa291976e 100644 --- a/media-libs/libpng/libpng-1.0.12-r1.ebuild +++ b/media-libs/libpng/libpng-1.0.15.ebuild @@ -1,30 +1,48 @@ # 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.0.12-r1.ebuild,v 1.10 2002/12/22 21:21:37 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.0.15.ebuild,v 1.1 2003/01/14 08:17:27 seemant Exp $ S=${WORKDIR}/${P} -DESCRIPTION="libpng" +DESCRIPTION="Portable Networks Graphics library." SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" HOMEPAGE="http://www.libpng.org/" SLOT="1.0" LICENSE="as-is" -KEYWORDS="x86 ppc sparc " +KEYWORDS="~x86 ~ppc ~sparc" DEPEND=">=sys-libs/zlib-1.1.3-r2" +src_unpack() { + unpack ${A} + cd ${S} + + patch -p1 < ${FILESDIR}/${P}-gentoo.diff -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 + +} + +src_compile() { make || die } src_install() { dodir /usr/{include,lib} make install prefix=${D}/usr || die - doman *.[35] + + newman libpngpf.3 libpngpf-10.3 + newman libpng.3 libpng-10.3 + newman png.5 png-10.5 + + # remove stuffs so that libpng-1.2 is the system default + rm ${D}/usr/bin/libpng-config + rm ${D}/usr/lib/libpng.{a,so} + rm ${D}/usr/include/{png.h,pngconf.h,libpng} + rm -rf ${D}/usr/man + dodoc ANNOUNCE CHANGES KNOWNBUG LICENSE README TODO Y2KINFO } |