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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Oct 14 11:55:57 2011 UTC (2 years, 10 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2.0_alpha64/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.45.ebuild,v 1.4 2011/07/12 12:39:02 tomka Exp $
4
5 # this ebuild is only for the libpng12.so.0 SONAME for ABI compat
6
7 EAPI=4
8
9 inherit autotools eutils multilib libtool
10
11 DESCRIPTION="Portable Network Graphics library"
12 HOMEPAGE="http://www.libpng.org/"
13 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
14
15 LICENSE="as-is"
16 SLOT="1.2"
17 KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~s390 ~sh ~sparc x86 ~sparc-fbsd ~x86-fbsd"
18 IUSE=""
19
20 RDEPEND="sys-libs/zlib
21 !=media-libs/libpng-1.2*:0"
22 DEPEND="${RDEPEND}
23 app-arch/xz-utils"
24
25 pkg_setup() {
26 if [[ -e ${EROOT}/usr/$(get_libdir)/libpng12.so.0 ]] ; then
27 rm -f "${EROOT}"/usr/$(get_libdir)/libpng12.so.0
28 fi
29 }
30
31 src_prepare() {
32 epatch "${FILESDIR}"/${P}-build.patch
33 eautoreconf
34 elibtoolize
35 }
36
37 src_configure() {
38 econf --disable-static
39 }
40
41 src_compile() {
42 emake libpng12.la
43 }
44
45 src_install() {
46 newlib.so .libs/libpng12.so.0.* libpng12.so.0
47 }

  ViewVC Help
Powered by ViewVC 1.1.20