summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-11-01 10:08:18 +0000
committerTim Harder <radhermit@gentoo.org>2014-11-01 10:08:18 +0000
commitdeb553b3bbdb8fdec6b699cfbcc2d1c8b27264ca (patch)
tree59f8e3785adeb01c48eac4c7be2bb37fa013302c /media-gfx/pngcrush
parentSet EAPI=5. (diff)
downloadgentoo-2-deb553b3bbdb8fdec6b699cfbcc2d1c8b27264ca.tar.gz
gentoo-2-deb553b3bbdb8fdec6b699cfbcc2d1c8b27264ca.tar.bz2
gentoo-2-deb553b3bbdb8fdec6b699cfbcc2d1c8b27264ca.zip
Version bump.
(Portage version: 2.2.14/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.78.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/media-gfx/pngcrush/ChangeLog b/media-gfx/pngcrush/ChangeLog
index c8a1fdedb4c5..07826c8083c5 100644
--- a/media-gfx/pngcrush/ChangeLog
+++ b/media-gfx/pngcrush/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/pngcrush
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/ChangeLog,v 1.127 2014/08/31 05:29:41 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/ChangeLog,v 1.128 2014/11/01 10:08:18 radhermit Exp $
+
+*pngcrush-1.7.78 (01 Nov 2014)
+
+ 01 Nov 2014; Tim Harder <radhermit@gentoo.org> +pngcrush-1.7.78.ebuild:
+ Version bump.
*pngcrush-1.7.77 (31 Aug 2014)
diff --git a/media-gfx/pngcrush/pngcrush-1.7.78.ebuild b/media-gfx/pngcrush/pngcrush-1.7.78.ebuild
new file mode 100644
index 000000000000..c5bf11a8e4b3
--- /dev/null
+++ b/media-gfx/pngcrush/pngcrush-1.7.78.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/pngcrush-1.7.78.ebuild,v 1.1 2014/11/01 10:08:18 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
+}