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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jul 19 18:24:27 2013 UTC (5 years ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

1 # Copyright 1999-2013 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.52.ebuild,v 1.1 2013/03/06 04:47:10 radhermit Exp $
4
5 EAPI=5
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="Portable Network Graphics (PNG) optimizing utility"
10 HOMEPAGE="http://pmt.sourceforge.net/pngcrush/"
11 SRC_URI="system-libs? ( mirror://sourceforge/pmt/${P}-nolib.tar.xz )
12 !system-libs? ( mirror://sourceforge/pmt/${P}.tar.xz )"
13
14 LICENSE="pngcrush"
15 SLOT="0"
16 KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
17 IUSE="+system-libs"
18
19 RDEPEND="
20 system-libs? (
21 >=media-libs/libpng-1.4:0
22 sys-libs/zlib
23 )"
24 DEPEND="${RDEPEND}
25 app-arch/xz-utils"
26
27 pkg_setup() {
28 use system-libs && S+="-nolib"
29 }
30
31 src_compile() {
32 emake \
33 CC="$(tc-getCC)" \
34 LD="$(tc-getCC)" \
35 CFLAGS="${CFLAGS} -Wall" \
36 LDFLAGS="${LDFLAGS}"
37 }
38
39 src_install() {
40 dobin ${PN}
41 dohtml ChangeLog.html
42 }

  ViewVC Help
Powered by ViewVC 1.1.20