summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-02-19 18:25:26 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-02-19 18:25:26 +0000
commit5cd358bdc37949b75d79f1276c2eee9584b9a646 (patch)
treeab7a452f940d8f4ca2db58684dbcac8366f6cff1 /media-libs/libmng
parentEncourage people to update their stored ssh key lists #355223 by Pacho Ramos. (diff)
downloadgentoo-2-5cd358bdc37949b75d79f1276c2eee9584b9a646.tar.gz
gentoo-2-5cd358bdc37949b75d79f1276c2eee9584b9a646.tar.bz2
gentoo-2-5cd358bdc37949b75d79f1276c2eee9584b9a646.zip
Use latest automake to avoid blockers with libtool. USE="static-libs" and remove useless libtool archive.
(Portage version: 2.1.9.40/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libmng')
-rw-r--r--media-libs/libmng/ChangeLog10
-rw-r--r--media-libs/libmng/libmng-1.0.10-r1.ebuild45
2 files changed, 53 insertions, 2 deletions
diff --git a/media-libs/libmng/ChangeLog b/media-libs/libmng/ChangeLog
index 94434dbeb8af..ebf597ebddd2 100644
--- a/media-libs/libmng/ChangeLog
+++ b/media-libs/libmng/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libmng
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmng/ChangeLog,v 1.70 2010/07/23 20:59:14 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmng/ChangeLog,v 1.71 2011/02/19 18:25:26 ssuominen Exp $
+
+*libmng-1.0.10-r1 (19 Feb 2011)
+
+ 19 Feb 2011; Samuli Suominen <ssuominen@gentoo.org> +libmng-1.0.10-r1.ebuild:
+ Use latest automake to avoid blockers with libtool. USE="static-libs" and
+ remove useless libtool archive.
23 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> libmng-1.0.10.ebuild:
Use virtual/jpeg.
diff --git a/media-libs/libmng/libmng-1.0.10-r1.ebuild b/media-libs/libmng/libmng-1.0.10-r1.ebuild
new file mode 100644
index 000000000000..9e4e1dabb4ed
--- /dev/null
+++ b/media-libs/libmng/libmng-1.0.10-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmng/libmng-1.0.10-r1.ebuild,v 1.1 2011/02/19 18:25:26 ssuominen Exp $
+
+EAPI=3
+inherit autotools
+
+DESCRIPTION="Multiple Image Networkgraphics lib (animated png's)"
+HOMEPAGE="http://www.libmng.com/"
+SRC_URI="mirror://sourceforge/libmng/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="lcms static-libs"
+
+RDEPEND="virtual/jpeg
+ >=sys-libs/zlib-1.1.4
+ lcms? ( =media-libs/lcms-1* )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ ln -s makefiles/configure.in .
+ ln -s makefiles/Makefile.am .
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable static-libs static) \
+ --with-jpeg \
+ $(use_with lcms)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
+
+ dodoc CHANGES README*
+ dodoc doc/doc.readme doc/libmng.txt
+ doman doc/man/*
+}