summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-03-09 20:57:43 +0000
committerTim Harder <radhermit@gentoo.org>2013-03-09 20:57:43 +0000
commitdf242c1f7ab23db4af2cd640c9d6123c73007a65 (patch)
tree56281c2404595967bc8b2bc923ce41d8ff603feb /media-gfx/pngcrush
parentVersion bump, migrate to distutils-r1. (diff)
downloadgentoo-2-df242c1f7ab23db4af2cd640c9d6123c73007a65.tar.gz
gentoo-2-df242c1f7ab23db4af2cd640c9d6123c73007a65.tar.bz2
gentoo-2-df242c1f7ab23db4af2cd640c9d6123c73007a65.zip
Version bump.
(Portage version: 2.2.0_alpha165/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-gfx/pngcrush')
-rw-r--r--media-gfx/pngcrush/ChangeLog7
-rw-r--r--media-gfx/pngcrush/pngcrush-1.7.53.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/media-gfx/pngcrush/ChangeLog b/media-gfx/pngcrush/ChangeLog
index 1d822c031c05..a64e19156352 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.108 2013/03/06 04:47:10 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/ChangeLog,v 1.109 2013/03/09 20:57:43 radhermit Exp $
+
+*pngcrush-1.7.53 (09 Mar 2013)
+
+ 09 Mar 2013; Tim Harder <radhermit@gentoo.org> +pngcrush-1.7.53.ebuild:
+ Version bump.
*pngcrush-1.7.52 (06 Mar 2013)
diff --git a/media-gfx/pngcrush/pngcrush-1.7.53.ebuild b/media-gfx/pngcrush/pngcrush-1.7.53.ebuild
new file mode 100644
index 000000000000..2c9fb270f71a
--- /dev/null
+++ b/media-gfx/pngcrush/pngcrush-1.7.53.ebuild
@@ -0,0 +1,42 @@
+# 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.53.ebuild,v 1.1 2013/03/09 20:57:43 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.4: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
+}