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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Aug 1 07:21:22 2012 UTC (5 years, 4 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old.

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

1 # Copyright 1999-2012 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.27.ebuild,v 1.1 2012/05/31 13:28:20 radhermit 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:0
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