1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit toolchain-funcs
9 DESCRIPTION="GTK image viewer"
10 HOMEPAGE="http://shallowsky.com/software/pho/"
11 SRC_URI="http://shallowsky.com/software/${PN}/${P}.tar.gz"
15 KEYWORDS="~amd64 ~ppc"
18 RDEPEND="x11-libs/gtk+:2"
23 sed -i -e "s:-g -O -Wall:${CFLAGS}:" Makefile\
24 || die "sed fix of cflags failed"
25 sed -i -e "s:-Wall -g -O2:${CFLAGS}:" exif/Makefile\
26 || die "sed fix of cflags2 failed"
31 dobin pho || die "installation failed"