blob: 5e8846a4398cdc97c619c7608547b67e521a512b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# 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.1 2003/11/07 01:43:07 ciaranm 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"
IUSE=""
S="${WORKDIR}"
src_compile () {
gcc -o pngrewrite pngrewrite.c -lpng -lz $CFLAGS || die
}
src_install () {
dobin pngrewrite
}
|