/[gentoo-x86]/media-gfx/png2ico/png2ico-2002.12.08.ebuild
Gentoo

Contents of /media-gfx/png2ico/png2ico-2002.12.08.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Apr 30 06:47:27 2013 UTC (14 months, 2 weeks ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +8 -6 lines
Fix building with libpng16 from which we don't get <cstring> within <png.h> anymore wrt #467918 by Antoine Lemoine

(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

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/png2ico/png2ico-2002.12.08.ebuild,v 1.1 2011/10/09 09:04:00 ssuominen Exp $
4
5 EAPI=5
6 inherit eutils toolchain-funcs
7
8 DESCRIPTION="PNG to icon converter"
9 HOMEPAGE="http://winterdrache.de/freeware/png2ico/index.html"
10 SRC_URI="http://winterdrache.de/freeware/${PN}/data/${PN}-src-${PV/./-}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE=""
16
17 RDEPEND="media-libs/libpng:0=
18 sys-libs/zlib:="
19 DEPEND="${RDEPEND}"
20
21 S=${WORKDIR}/${PN}
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${P}-memset_and_strcmp.patch
25
26 sed -i \
27 -e 's:CPPFLAGS=-W -Wall -O2:CXXFLAGS+=-W -Wall:' \
28 -e 's:g++ $(CPPFLAGS):$(CXX) $(LDFLAGS) $(CXXFLAGS):' \
29 Makefile || die
30 }
31
32 src_compile() {
33 tc-export CXX
34 emake DEBUG=""
35 }
36
37 src_install() {
38 dobin png2ico
39 dodoc doc/bmp.txt README
40 doman doc/png2ico.1
41 }

  ViewVC Help
Powered by ViewVC 1.1.20