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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jan 15 05:32:57 2015 UTC (3 years ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old.

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

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

  ViewVC Help
Powered by ViewVC 1.1.20