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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu May 13 20:05:17 2010 UTC (4 years, 2 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Rename revision to get slotted version preferred first wrt #319457 by Vadim Kuznetsov.
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.43-r1.ebuild,v 1.5 2010/05/12 18:39:11 ssuominen Exp $
4
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-r1"
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