diff options
Diffstat (limited to 'media-gfx/pngcrush')
-rw-r--r-- | media-gfx/pngcrush/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/pngcrush/pngcrush-1.7.63.ebuild | 41 |
2 files changed, 47 insertions, 1 deletions
diff --git a/media-gfx/pngcrush/ChangeLog b/media-gfx/pngcrush/ChangeLog index 052c0441eb3d..ab429ffadcbb 100644 --- a/media-gfx/pngcrush/ChangeLog +++ b/media-gfx/pngcrush/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/pngcrush # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/ChangeLog,v 1.114 2013/06/04 21:59:20 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/ChangeLog,v 1.115 2013/06/15 10:34:46 radhermit Exp $ + +*pngcrush-1.7.63 (15 Jun 2013) + + 15 Jun 2013; Tim Harder <radhermit@gentoo.org> +pngcrush-1.7.63.ebuild: + Version bump. *pngcrush-1.7.59 (04 Jun 2013) diff --git a/media-gfx/pngcrush/pngcrush-1.7.63.ebuild b/media-gfx/pngcrush/pngcrush-1.7.63.ebuild new file mode 100644 index 000000000000..83afc847b6f4 --- /dev/null +++ b/media-gfx/pngcrush/pngcrush-1.7.63.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/pngcrush-1.7.63.ebuild,v 1.1 2013/06/15 10:34:46 radhermit Exp $ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="Portable Network Graphics (PNG) optimizing utility" +HOMEPAGE="http://pmt.sourceforge.net/pngcrush/" +SRC_URI="system-libs? ( mirror://sourceforge/pmt/${P}-nolib.tar.xz ) + !system-libs? ( mirror://sourceforge/pmt/${P}.tar.xz )" + +LICENSE="pngcrush" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="+system-libs" + +RDEPEND=" + system-libs? ( + >=media-libs/libpng-1.5:0= + sys-libs/zlib:= + )" +DEPEND="${RDEPEND} + app-arch/xz-utils" + +pkg_setup() { + use system-libs && S+="-nolib" +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + LD="$(tc-getCC)" \ + CFLAGS="${CFLAGS} -Wall" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin ${PN} + dohtml ChangeLog.html +} |