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

Contents of /media-libs/libpng/libpng-1.2.43-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sun Jun 27 09:37:50 2010 UTC (4 years, 5 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 ssuominen 1.1 # Copyright 1999-2010 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.2 # $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.43-r3.ebuild,v 1.1 2010/05/13 20:05:17 ssuominen Exp $
4 ssuominen 1.1
5     # this ebuild is only for the libpng12.so.0 SONAME for ABI compat
6    
7     EAPI=3
8     inherit multilib libtool
9    
10     DESCRIPTION="Portable Network Graphics library"
11     HOMEPAGE="http://www.libpng.org/"
12     SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
13    
14     LICENSE="as-is"
15     SLOT="1.2"
16     KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
17     IUSE=""
18    
19     RDEPEND="sys-libs/zlib
20     !<media-libs/libpng-1.2.43-r3"
21     DEPEND="${RDEPEND}
22     app-arch/xz-utils"
23    
24     pkg_setup() {
25     if [[ -e ${ROOT}/usr/$(get_libdir)/libpng12.so.0 ]]; then
26     rm -f "${ROOT}"/usr/$(get_libdir)/libpng12.so.0
27     fi
28     }
29    
30     src_prepare() {
31     elibtoolize
32     }
33    
34     src_configure() {
35     econf \
36     --disable-dependency-tracking \
37     --disable-static
38     }
39    
40     src_install() {
41     exeinto /usr/$(get_libdir)
42     newexe .libs/libpng12.so.0.43.0 libpng12.so.0 || die
43     }

  ViewVC Help
Powered by ViewVC 1.1.20