blob: e77870b1100c2e78b446a1d1eee94611354a984d (
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
28
29
30
31
32
33
34
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/pngcrush-1.6.19.ebuild,v 1.3 2010/01/01 17:02:56 ken69267 Exp $
inherit eutils toolchain-funcs
DESCRIPTION="Portable Network Graphics (PNG) optimizing utility"
HOMEPAGE="http://pmt.sourceforge.net/pngcrush/"
SRC_URI="mirror://sourceforge/pmt/${P}-nolib.tar.bz2"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~alpha amd64 ~ppc ~x86"
IUSE=""
DEPEND=">=media-libs/libpng-1.2.31"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${P}-nolib"
src_unpack() {
unpack ${A}
cp "${FILESDIR}"/Makefile "${S}" || die
}
src_compile() {
tc-export CC
emake || die "emake failed."
}
src_install() {
dobin ${PN} || die "dobin failed."
dohtml ChangeLog.html
}
|