summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-02-12 23:22:22 +0000
committerMike Frysinger <vapier@gentoo.org>2011-02-12 23:22:22 +0000
commitdecbc00632f0045ed3163dbe8bfc3e3f5adc32be (patch)
tree2e8fcc19e1d9ec5a2fdbe9f54823cee69eeec760 /media-libs/libpng
parentuse.local.desc is now generated purely in the rsync tier and is no longer req... (diff)
downloadgentoo-2-decbc00632f0045ed3163dbe8bfc3e3f5adc32be.tar.gz
gentoo-2-decbc00632f0045ed3163dbe8bfc3e3f5adc32be.tar.bz2
gentoo-2-decbc00632f0045ed3163dbe8bfc3e3f5adc32be.zip
Clean up a bit and only compile the stuff we will actually install.
(Portage version: 2.2.0_alpha20/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/ChangeLog5
-rw-r--r--media-libs/libpng/libpng-1.2.44.ebuild16
2 files changed, 14 insertions, 7 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog
index a53e7def2c71..530ee3c36880 100644
--- a/media-libs/libpng/ChangeLog
+++ b/media-libs/libpng/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-libs/libpng
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.280 2011/02/11 14:59:46 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.281 2011/02/12 23:22:22 vapier Exp $
+
+ 12 Feb 2011; Mike Frysinger <vapier@gentoo.org> libpng-1.2.44.ebuild:
+ Clean up a bit and only compile the stuff we will actually install.
*libpng-1.5.1 (11 Feb 2011)
diff --git a/media-libs/libpng/libpng-1.2.44.ebuild b/media-libs/libpng/libpng-1.2.44.ebuild
index 93d2b356cbf5..6a823e7b1445 100644
--- a/media-libs/libpng/libpng-1.2.44.ebuild
+++ b/media-libs/libpng/libpng-1.2.44.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.44.ebuild,v 1.6 2010/07/19 01:06:05 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.44.ebuild,v 1.7 2011/02/12 23:22:22 vapier Exp $
# this ebuild is only for the libpng12.so.0 SONAME for ABI compat
-EAPI=3
+EAPI="3"
+
inherit multilib libtool
DESCRIPTION="Portable Network Graphics library"
@@ -22,7 +23,7 @@ DEPEND="${RDEPEND}
app-arch/xz-utils"
pkg_setup() {
- if [[ -e ${ROOT}/usr/$(get_libdir)/libpng12.so.0 ]]; then
+ if [[ -e ${ROOT}/usr/$(get_libdir)/libpng12.so.0 ]] ; then
rm -f "${ROOT}"/usr/$(get_libdir)/libpng12.so.0
fi
}
@@ -37,7 +38,10 @@ src_configure() {
--disable-static
}
+src_compile() {
+ emake libpng12.la || die
+}
+
src_install() {
- exeinto /usr/$(get_libdir)
- doexe .libs/libpng12.so.0 || die
+ newlib.so .libs/libpng12.so.0.* libpng12.so.0 || die
}