/[gentoo-x86]/media-gfx/pngcrush/pngcrush-1.7.18.ebuild
Gentoo

Contents of /media-gfx/pngcrush/pngcrush-1.7.18.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Oct 14 18:24:49 2011 UTC (6 years, 9 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.2.0_alpha64/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/pngcrush-1.7.18.ebuild,v 1.1 2011/10/14 11:27:04 ssuominen Exp $
4
5 EAPI=4
6
7 MY_P=${P}-nolib
8
9 inherit toolchain-funcs
10
11 DESCRIPTION="Portable Network Graphics (PNG) optimizing utility"
12 HOMEPAGE="http://pmt.sourceforge.net/pngcrush/"
13 SRC_URI="mirror://sourceforge/pmt/${MY_P}.tar.xz"
14
15 LICENSE="as-is"
16 SLOT="0"
17 KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
18 IUSE=""
19
20 RDEPEND=">=media-libs/libpng-1.4
21 sys-libs/zlib"
22 DEPEND="${RDEPEND}
23 app-arch/xz-utils"
24
25 S=${WORKDIR}/${MY_P}
26
27 src_compile() {
28 emake \
29 CC="$(tc-getCC)" \
30 LD="$(tc-getCC)" \
31 CFLAGS="${CFLAGS} -Wall" \
32 LDFLAGS="${LDFLAGS}"
33 }
34
35 src_install() {
36 dobin ${PN}
37 dohtml ChangeLog.html
38 }

  ViewVC Help
Powered by ViewVC 1.1.20