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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Jul 24 04:48:00 2012 UTC (9 months, 4 weeks ago) by radhermit
Branch: MAIN
Version bump.

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

1 radhermit 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
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.13