# Copyright 1999-2004 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.6 2004/12/15 22:26:18 hansmi Exp $ 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="media-libs/libpng sys-libs/zlib" SLOT="0" LICENSE="public-domain" KEYWORDS="x86 sparc ~ppc" IUSE="" S="${WORKDIR}" src_compile () { gcc -o pngrewrite pngrewrite.c -lpng -lz $CFLAGS || die } src_install () { dobin pngrewrite }