diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-05-27 21:57:50 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-05-27 21:57:50 +0000 |
commit | 85e7dfdd4bd633a73514c7234a58746b637ea081 (patch) | |
tree | 4af5a3dda3c8486aee2ae88c102962f15876fc2c /media-libs/libpng | |
parent | more cleanouts (diff) | |
download | gentoo-2-85e7dfdd4bd633a73514c7234a58746b637ea081.tar.gz gentoo-2-85e7dfdd4bd633a73514c7234a58746b637ea081.tar.bz2 gentoo-2-85e7dfdd4bd633a73514c7234a58746b637ea081.zip |
Add support for USE=doc to pull in the manual #94029 by Laurence Withers.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'media-libs/libpng')
-rw-r--r-- | media-libs/libpng/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/libpng/files/digest-libpng-1.2.8 | 1 | ||||
-rw-r--r-- | media-libs/libpng/libpng-1.2.8.ebuild | 11 |
3 files changed, 13 insertions, 6 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog index b88a3c91ffe0..50b6d0191ad8 100644 --- a/media-libs/libpng/ChangeLog +++ b/media-libs/libpng/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/libpng -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.67 2005/05/16 00:06:42 geoman Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.68 2005/05/27 21:57:50 vapier Exp $ + + 27 May 2005; Mike Frysinger <vapier@gentoo.org> libpng-1.2.8.ebuild: + Add support for USE=doc to pull in the manual #94029 by Laurence Withers. 16 May 2005; Stephen P. Becker <geoman@gentoo.org> libpng-1.2.8.ebuild: stable on mips diff --git a/media-libs/libpng/files/digest-libpng-1.2.8 b/media-libs/libpng/files/digest-libpng-1.2.8 index 39a9478b3be0..af445994947a 100644 --- a/media-libs/libpng/files/digest-libpng-1.2.8 +++ b/media-libs/libpng/files/digest-libpng-1.2.8 @@ -1 +1,2 @@ MD5 00cea4539bea4bd34cbf8b82ff9589cd libpng-1.2.8.tar.bz2 384970 +MD5 3c9069aa836541dc0e075187dcb21899 libpng-manual.txt 127770 diff --git a/media-libs/libpng/libpng-1.2.8.ebuild b/media-libs/libpng/libpng-1.2.8.ebuild index 02ec89341d41..c9bc3a033235 100644 --- a/media-libs/libpng/libpng-1.2.8.ebuild +++ b/media-libs/libpng/libpng-1.2.8.ebuild @@ -1,23 +1,25 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.8.ebuild,v 1.9 2005/05/16 00:06:42 geoman Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.8.ebuild,v 1.10 2005/05/27 21:57:50 vapier Exp $ inherit flag-o-matic eutils toolchain-funcs DESCRIPTION="Portable Network Graphics library" HOMEPAGE="http://www.libpng.org/" -SRC_URI="mirror://sourceforge/libpng/${P}.tar.bz2" +SRC_URI="mirror://sourceforge/libpng/${P}.tar.bz2 + doc? ( http://www.libpng.org/pub/png/libpng-manual.txt )" LICENSE="as-is" SLOT="1.2" KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc-macos ppc64 s390 sh sparc x86" -IUSE="" +IUSE="doc" DEPEND="sys-libs/zlib" src_unpack() { - unpack ${A} + unpack ${P}.tar.bz2 cd "${S}" + use doc && cp "${DISTDIR}"/libpng-manual.txt . epatch "${FILESDIR}"/1.2.7-gentoo.diff @@ -51,6 +53,7 @@ src_compile() { src_install() { make DESTDIR="${D}" install || die dodoc ANNOUNCE CHANGES KNOWNBUG README TODO Y2KINFO + use doc && dodoc libpng-manual.txt } pkg_postinst() { |