/[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.1 - (show annotations) (download)
Sun Oct 9 09:04:00 2011 UTC (2 years, 11 months ago) by ssuominen
Branch: MAIN
Initial commit wrt #253323 by Erik Hahn

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

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=4
6 inherit 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
18 sys-libs/zlib"
19 DEPEND="${RDEPEND}"
20
21 S=${WORKDIR}/${PN}
22
23 src_prepare() {
24 sed -i \
25 -e 's:CPPFLAGS=-W -Wall -O2:CXXFLAGS+=-W -Wall:' \
26 -e 's:g++ $(CPPFLAGS):$(CXX) $(LDFLAGS) $(CXXFLAGS):' \
27 Makefile || die
28 }
29
30 src_compile() {
31 tc-export CXX
32 emake DEBUG=""
33 }
34
35 src_install() {
36 dobin png2ico
37 dodoc doc/bmp.txt README
38 doman doc/png2ico.1
39 }

  ViewVC Help
Powered by ViewVC 1.1.20