diff options
author | Hanno Böck <hanno@gentoo.org> | 2011-10-08 19:12:43 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2011-10-08 19:12:43 +0000 |
commit | 0229a09c520853a2f1406b71ce0309b55700bcc9 (patch) | |
tree | 984efc480874dc30f2fd8910663d01fe86cbb00d /media-gfx | |
parent | alpha/arm/ia64/sparc stable wrt #384381 (diff) | |
download | gentoo-2-0229a09c520853a2f1406b71ce0309b55700bcc9.tar.gz gentoo-2-0229a09c520853a2f1406b71ce0309b55700bcc9.tar.bz2 gentoo-2-0229a09c520853a2f1406b71ce0309b55700bcc9.zip |
pngcrush use bundled libpng 1.4, because it doesn't compile against
libpng 1.5.
(Portage version: 2.1.10.23/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/pngcrush/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/pngcrush/pngcrush-1.7.17-r1.ebuild | 34 |
2 files changed, 40 insertions, 1 deletions
diff --git a/media-gfx/pngcrush/ChangeLog b/media-gfx/pngcrush/ChangeLog index 1aefa07d5440..72c2239871fb 100644 --- a/media-gfx/pngcrush/ChangeLog +++ b/media-gfx/pngcrush/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/pngcrush # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/ChangeLog,v 1.62 2011/09/18 08:41:31 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/ChangeLog,v 1.63 2011/10/08 19:12:43 hanno Exp $ + +*pngcrush-1.7.17-r1 (08 Oct 2011) + + 08 Oct 2011; Hanno Boeck <hanno@gentoo.org> +pngcrush-1.7.17-r1.ebuild: + Switch to bundled libpng as long as it doesn't compile against libpng 1.5. 18 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> pngcrush-1.7.17.ebuild: Error out in pkg_setup() with media-libs/libpng >= 1.5. diff --git a/media-gfx/pngcrush/pngcrush-1.7.17-r1.ebuild b/media-gfx/pngcrush/pngcrush-1.7.17-r1.ebuild new file mode 100644 index 000000000000..9c9027188ac9 --- /dev/null +++ b/media-gfx/pngcrush/pngcrush-1.7.17-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/pngcrush-1.7.17-r1.ebuild,v 1.1 2011/10/08 19:12:43 hanno Exp $ + +EAPI=4 +inherit toolchain-funcs + +DESCRIPTION="Portable Network Graphics (PNG) optimizing utility" +HOMEPAGE="http://pmt.sourceforge.net/pngcrush/" +SRC_URI="mirror://sourceforge/pmt/${P}.tar.xz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +RDEPEND=">=media-libs/libpng-1.4 + sys-libs/zlib" +DEPEND="${RDEPEND} + app-arch/xz-utils" + +S=${WORKDIR}/${P} + +src_compile() { + emake CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + || die "emake failed" +} + +src_install() { + dobin ${PN} + dohtml ChangeLog.html +} |