/[gentoo-x86]/media-libs/libpng/libpng-1.2.19.ebuild
Gentoo

Diff of /media-libs/libpng/libpng-1.2.19.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/Attic/libpng-1.2.19.ebuild,v 1.1 2007/08/19 05:14:51 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/Attic/libpng-1.2.19.ebuild,v 1.2 2007/08/25 16:32:46 vapier Exp $
4 4
5inherit libtool multilib eutils 5inherit libtool multilib eutils flag-o-matic
6 6
7DESCRIPTION="Portable Network Graphics library" 7DESCRIPTION="Portable Network Graphics library"
8HOMEPAGE="http://www.libpng.org/" 8HOMEPAGE="http://www.libpng.org/"
9SRC_URI="mirror://sourceforge/libpng/${P}.tar.bz2 9SRC_URI="mirror://sourceforge/libpng/${P}.tar.bz2
10 doc? ( http://www.libpng.org/pub/png/libpng-manual.txt )" 10 doc? ( http://www.libpng.org/pub/png/libpng-manual.txt )"
11 11
12LICENSE="as-is" 12LICENSE="as-is"
13SLOT="1.2" 13SLOT="1.2"
14KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" 14KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
15IUSE="doc" 15IUSE="doc mmx"
16 16
17DEPEND="sys-libs/zlib" 17DEPEND="sys-libs/zlib"
18 18
19src_unpack() { 19src_unpack() {
20 unpack ${A} 20 unpack ${A}
22 use doc && cp "${WORKDIR}"/${PN}-manual.txt . 22 use doc && cp "${WORKDIR}"/${PN}-manual.txt .
23 epatch "${FILESDIR}"/1.2.7-gentoo.diff 23 epatch "${FILESDIR}"/1.2.7-gentoo.diff
24 24
25 # So we get sane .so versioning on FreeBSD 25 # So we get sane .so versioning on FreeBSD
26 elibtoolize 26 elibtoolize
27
28 use mmx || append-cppflags -DPNG_NO_MMX_CODE
27} 29}
28 30
29src_install() { 31src_install() {
30 emake DESTDIR="${D}" install || die 32 emake DESTDIR="${D}" install || die
31 dodoc ANNOUNCE CHANGES KNOWNBUG README TODO Y2KINFO 33 dodoc ANNOUNCE CHANGES KNOWNBUG README TODO Y2KINFO

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20