summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-08-24 14:03:32 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-08-24 14:03:32 +0000
commit464a46ce0656e4fcaed3841c92ccd23c1ea76867 (patch)
tree6e3f27ddaec5350de18802ac7cd50c1dcb68268f /media-gfx/optipng
parentBump to 0.8.6, remove old. (diff)
downloadgentoo-2-464a46ce0656e4fcaed3841c92ccd23c1ea76867.tar.gz
gentoo-2-464a46ce0656e4fcaed3841c92ccd23c1ea76867.tar.bz2
gentoo-2-464a46ce0656e4fcaed3841c92ccd23c1ea76867.zip
Version bump, bug #232577
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64)
Diffstat (limited to 'media-gfx/optipng')
-rw-r--r--media-gfx/optipng/ChangeLog7
-rw-r--r--media-gfx/optipng/optipng-0.6.1.ebuild35
2 files changed, 41 insertions, 1 deletions
diff --git a/media-gfx/optipng/ChangeLog b/media-gfx/optipng/ChangeLog
index ef72982965fd..67c414646613 100644
--- a/media-gfx/optipng/ChangeLog
+++ b/media-gfx/optipng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/optipng
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/ChangeLog,v 1.39 2008/02/17 13:05:03 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/ChangeLog,v 1.40 2008/08/24 14:03:32 nyhm Exp $
+
+*optipng-0.6.1 (24 Aug 2008)
+
+ 24 Aug 2008; Tristan Heaven <nyhm@gentoo.org> +optipng-0.6.1.ebuild:
+ Version bump, bug #232577
17 Feb 2008; Christian Faulhammer <opfer@gentoo.org> optipng-0.5.5.ebuild:
stable amd64, bug 209941
diff --git a/media-gfx/optipng/optipng-0.6.1.ebuild b/media-gfx/optipng/optipng-0.6.1.ebuild
new file mode 100644
index 000000000000..2e4fb515423c
--- /dev/null
+++ b/media-gfx/optipng/optipng-0.6.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/optipng-0.6.1.ebuild,v 1.1 2008/08/24 14:03:32 nyhm Exp $
+
+DESCRIPTION="Compress PNG files without affecting image quality"
+HOMEPAGE="http://optipng.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "/^C/s: -O2.*: ${CFLAGS} -Wall:" \
+ -e "/^LD/s: -s$: ${LDFLAGS}:" \
+ src/scripts/gcc.mak \
+ lib/libpng/scripts/makefile.gcc \
+ lib/pngxtern/scripts/gcc.mak \
+ || die "sed failed"
+}
+
+src_compile() {
+ emake -C src -f scripts/gcc.mak || die "emake failed"
+}
+
+src_install() {
+ dobin src/optipng || die "dobin failed"
+ dodoc README.txt doc/*.txt
+ dohtml doc/*.html
+ doman man/optipng.1
+}