/[gentoo-x86]/media-gfx/pngrewrite/pngrewrite-1.3.0.ebuild
Gentoo

Contents of /media-gfx/pngrewrite/pngrewrite-1.3.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Feb 7 16:07:00 2010 UTC (10 years, 5 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +2 -2 lines
sparc stable wrt #297839
(Portage version: 2.1.7.16/cvs/Linux ia64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/pngrewrite/pngrewrite-1.3.0.ebuild,v 1.7 2010/01/24 15:20:26 klausman Exp $
4
5 inherit toolchain-funcs base
6
7 DESCRIPTION="A utility which reduces large palettes in PNG images"
8 HOMEPAGE="http://entropymine.com/jason/pngrewrite/"
9 SRC_URI="http://entropymine.com/jason/${PN}/${P}.zip"
10
11 LICENSE="public-domain"
12 SLOT="0"
13 KEYWORDS="alpha amd64 ppc sparc x86 ~x86-linux ~ppc-macos"
14 IUSE=""
15
16 RDEPEND="media-libs/libpng"
17 DEPEND="${RDEPEND}
18 app-arch/unzip"
19
20 S=${WORKDIR}
21 PATCHES=( "${FILESDIR}"/${P}-gcc44.patch )
22
23 src_compile() {
24 $(tc-getCC) ${LDFLAGS} ${CFLAGS} ${PN}.c -lpng -o ${PN} \
25 || die "compile failed."
26 }
27
28 src_install() {
29 dobin ${PN} || die "dobin failed."
30 }

  ViewVC Help
Powered by ViewVC 1.1.20