summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-05-14 19:37:28 +0000
committerSamuli Suominen <drac@gentoo.org>2008-05-14 19:37:28 +0000
commit07c5434503da58f052a8f693bc3d6b95ac051bc3 (patch)
tree50c1021fee2d34a112e0912c1634affb9297b35d /media-gfx/pngrewrite
parentStable on ppc64; bug #221063 (diff)
downloadgentoo-2-07c5434503da58f052a8f693bc3d6b95ac051bc3.tar.gz
gentoo-2-07c5434503da58f052a8f693bc3d6b95ac051bc3.tar.bz2
gentoo-2-07c5434503da58f052a8f693bc3d6b95ac051bc3.zip
Keyword ~amd64 wrt #222111. Remove -lz and zlib depend as it's not really used. toolchanify.. take maintainership.. etcetc
(Portage version: 2.1.5_rc10)
Diffstat (limited to 'media-gfx/pngrewrite')
-rw-r--r--media-gfx/pngrewrite/ChangeLog6
-rw-r--r--media-gfx/pngrewrite/metadata.xml10
-rw-r--r--media-gfx/pngrewrite/pngrewrite-1.2.1.ebuild31
3 files changed, 25 insertions, 22 deletions
diff --git a/media-gfx/pngrewrite/ChangeLog b/media-gfx/pngrewrite/ChangeLog
index 4897846a3902..839cfe9cda43 100644
--- a/media-gfx/pngrewrite/ChangeLog
+++ b/media-gfx/pngrewrite/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/pngrewrite
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngrewrite/ChangeLog,v 1.13 2008/04/21 17:32:20 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngrewrite/ChangeLog,v 1.14 2008/05/14 19:37:28 drac Exp $
+
+ 14 May 2008; Samuli Suominen <drac@gentoo.org> pngrewrite-1.2.1.ebuild:
+ Keyword ~amd64 wrt #222111. Remove -lz and zlib depend as it's not really
+ used.
21 Apr 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
Fix up metadata.xml. If there's no maintainer for the package, the metadata
diff --git a/media-gfx/pngrewrite/metadata.xml b/media-gfx/pngrewrite/metadata.xml
index fae7d74a9aee..e63bf3080b57 100644
--- a/media-gfx/pngrewrite/metadata.xml
+++ b/media-gfx/pngrewrite/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>no-herd</herd>
- <maintainer>
- <email>maintainer-needed@gentoo.org</email>
- <name>Default assignee for orphaned packages</name>
- </maintainer>
+<herd>graphics</herd>
+<maintainer>
+<email>drac@gentoo.org</email>
+<name>Samuli Suominen</name>
+</maintainer>
</pkgmetadata>
diff --git a/media-gfx/pngrewrite/pngrewrite-1.2.1.ebuild b/media-gfx/pngrewrite/pngrewrite-1.2.1.ebuild
index af715438bd7c..9d331bc551b2 100644
--- a/media-gfx/pngrewrite/pngrewrite-1.2.1.ebuild
+++ b/media-gfx/pngrewrite/pngrewrite-1.2.1.ebuild
@@ -1,30 +1,29 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngrewrite/pngrewrite-1.2.1.ebuild,v 1.11 2008/01/26 11:01:27 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngrewrite/pngrewrite-1.2.1.ebuild,v 1.12 2008/05/14 19:37:28 drac Exp $
+
+inherit toolchain-funcs
DESCRIPTION="A utility which reduces large palettes in PNG images"
HOMEPAGE="http://entropymine.com/jason/pngrewrite/"
-SRC_URI="http://entropymine.com/jason/pngrewrite/${P}.zip"
-
-DEPEND="app-arch/unzip
- media-libs/libpng
- sys-libs/zlib"
+SRC_URI="http://entropymine.com/jason/${PN}/${P}.zip"
-RDEPEND="media-libs/libpng
- sys-libs/zlib"
-
-SLOT="0"
LICENSE="public-domain"
-KEYWORDS="ppc sparc x86"
-
+SLOT="0"
+KEYWORDS="~amd64 ppc sparc x86"
IUSE=""
+RDEPEND="media-libs/libpng"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
S=${WORKDIR}
-src_compile () {
- gcc -o pngrewrite pngrewrite.c -lpng -lz $CFLAGS || die
+src_compile() {
+ $(tc-getCC) ${LDFLAGS} ${CFLAGS} ${PN}.c -lpng -o ${PN} \
+ || die "compile failed."
}
-src_install () {
- dobin pngrewrite
+src_install() {
+ dobin ${PN} || die "dobin failed."
}