summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libpng/libpng-1.2.8.ebuild')
-rw-r--r--media-libs/libpng/libpng-1.2.8.ebuild11
1 files changed, 7 insertions, 4 deletions
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() {