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

Contents of /media-libs/libpng/libpng-1.5.11.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Sep 28 16:07:06 2012 UTC (18 months, 2 weeks ago) by ulm
Branch: MAIN
Changes since 1.1: +2 -2 lines
Specify LICENSE more precisely.

(Portage version: 2.1.11.20/cvs/Linux x86_64)

1 ssuominen 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ulm 1.2 # $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.5.11.ebuild,v 1.1 2012/06/16 15:58:39 ssuominen Exp $
4 ssuominen 1.1
5     EAPI=4
6    
7     inherit eutils libtool
8    
9     DESCRIPTION="Portable Network Graphics library"
10     HOMEPAGE="http://www.libpng.org/"
11     SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz
12     apng? ( mirror://sourceforge/${PN}-apng/${P}-apng.patch.gz )"
13    
14 ulm 1.2 LICENSE="libpng"
15 ssuominen 1.1 SLOT="0"
16     KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
17     IUSE="apng neon static-libs"
18    
19     RDEPEND="sys-libs/zlib"
20     DEPEND="${RDEPEND}
21     app-arch/xz-utils"
22    
23     DOCS=( ANNOUNCE CHANGES libpng-manual.txt README TODO )
24    
25     src_prepare() {
26     if use apng; then
27     epatch "${WORKDIR}"/${P}-apng.patch
28     # Don't execute symbols check with apng patch wrt #378111
29     sed -i -e '/^check/s:scripts/symbols.chk::' Makefile.in || die
30     fi
31     elibtoolize
32     }
33    
34     src_configure() {
35     econf \
36     $(use_enable static-libs static) \
37     $(use_enable neon arm-neon)
38     }
39    
40     src_install() {
41     default
42     find "${ED}" -name '*.la' -exec rm -f {} +
43     }

  ViewVC Help
Powered by ViewVC 1.1.20