summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregorio Guidi <greg_g@gentoo.org>2005-04-03 19:07:54 +0000
committerGregorio Guidi <greg_g@gentoo.org>2005-04-03 19:07:54 +0000
commit636e8c8ac74d8d2c04c5984d7950dfcaf931af21 (patch)
treed2e603bf4b2230a5c9c6ab8ec5031e388d7e12fd /media-libs/libmng
parentFix for bug #70448 (diff)
downloadgentoo-2-636e8c8ac74d8d2c04c5984d7950dfcaf931af21.tar.gz
gentoo-2-636e8c8ac74d8d2c04c5984d7950dfcaf931af21.tar.bz2
gentoo-2-636e8c8ac74d8d2c04c5984d7950dfcaf931af21.zip
Fix detection of liblcms.
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-libs/libmng')
-rw-r--r--media-libs/libmng/ChangeLog9
-rw-r--r--media-libs/libmng/files/digest-libmng-1.0.8-r11
-rw-r--r--media-libs/libmng/libmng-1.0.8-r1.ebuild43
3 files changed, 51 insertions, 2 deletions
diff --git a/media-libs/libmng/ChangeLog b/media-libs/libmng/ChangeLog
index a2f394c237bb..f6e724bdcde1 100644
--- a/media-libs/libmng/ChangeLog
+++ b/media-libs/libmng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libmng
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmng/ChangeLog,v 1.20 2004/10/31 22:40:02 kito Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmng/ChangeLog,v 1.21 2005/04/03 19:07:54 greg_g Exp $
+
+*libmng-1.0.8-r1 (03 Apr 2005)
+
+ 03 Apr 2005; Gregorio Guidi <greg_g@gentoo.org> +libmng-1.0.8-r1.ebuild:
+ Fix detection of liblcms.
31 Oct 2004; Kito <kito@gentoo.org> libmng-1.0.8.ebuild:
added ~ppc-macos
diff --git a/media-libs/libmng/files/digest-libmng-1.0.8-r1 b/media-libs/libmng/files/digest-libmng-1.0.8-r1
new file mode 100644
index 000000000000..e7e29cedfa44
--- /dev/null
+++ b/media-libs/libmng/files/digest-libmng-1.0.8-r1
@@ -0,0 +1 @@
+MD5 d688ca879c934e9cde8b323cf3025f89 libmng-1.0.8.tar.gz 509823
diff --git a/media-libs/libmng/libmng-1.0.8-r1.ebuild b/media-libs/libmng/libmng-1.0.8-r1.ebuild
new file mode 100644
index 000000000000..778459baacc4
--- /dev/null
+++ b/media-libs/libmng/libmng-1.0.8-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmng/libmng-1.0.8-r1.ebuild,v 1.1 2005/04/03 19:07:54 greg_g Exp $
+
+DESCRIPTION="Multiple Image Networkgraphics lib (animated png's)"
+HOMEPAGE="http://www.libmng.com/"
+SRC_URI="http://download.sourceforge.net/libmng/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64 ~ppc-macos"
+IUSE=""
+
+RDEPEND=">=media-libs/jpeg-6b
+ >=sys-libs/zlib-1.1.4
+ >=media-libs/lcms-1.0.8"
+
+DEPEND="${RDEPEND}
+ sys-devel/autoconf
+ sys-devel/automake"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i -e 's:\(#include\) "lcms.h":\1 <lcms/lcms.h>:' libmng_types.h
+ sed -i -e 's:lcms\.h:lcms/lcms\.h:' makefiles/configure.in
+
+ sh autogen.sh
+}
+
+src_compile() {
+ econf --with-lcms || die
+ make || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+
+ dodoc CHANGES README*
+ dodoc doc/doc.readme doc/libmng.txt
+ doman doc/man/*
+}