summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/pngcrush/ChangeLog7
-rw-r--r--media-gfx/pngcrush/pngcrush-1.7.27.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/media-gfx/pngcrush/ChangeLog b/media-gfx/pngcrush/ChangeLog
index 9e80c40ed34e..d29a4b43f2e5 100644
--- a/media-gfx/pngcrush/ChangeLog
+++ b/media-gfx/pngcrush/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/pngcrush
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/ChangeLog,v 1.82 2012/03/03 14:50:03 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/ChangeLog,v 1.83 2012/05/31 13:28:20 radhermit Exp $
+
+*pngcrush-1.7.27 (31 May 2012)
+
+ 31 May 2012; Tim Harder <radhermit@gentoo.org> +pngcrush-1.7.27.ebuild:
+ Version bump.
03 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> -pngcrush-1.7.20.ebuild,
-pngcrush-1.7.22.ebuild, -pngcrush-1.7.23.ebuild:
diff --git a/media-gfx/pngcrush/pngcrush-1.7.27.ebuild b/media-gfx/pngcrush/pngcrush-1.7.27.ebuild
new file mode 100644
index 000000000000..0248b5cfad6e
--- /dev/null
+++ b/media-gfx/pngcrush/pngcrush-1.7.27.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/pngcrush-1.7.27.ebuild,v 1.1 2012/05/31 13:28:20 radhermit Exp $
+
+EAPI=4
+
+MY_P=${P}-nolib
+
+inherit toolchain-funcs
+
+DESCRIPTION="Portable Network Graphics (PNG) optimizing utility"
+HOMEPAGE="http://pmt.sourceforge.net/pngcrush/"
+SRC_URI="mirror://sourceforge/pmt/${MY_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:0
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getCC)" \
+ CFLAGS="${CFLAGS} -Wall" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin ${PN}
+ dohtml ChangeLog.html
+}