1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="A command-line tool for taking JPEG snapshots of VNC servers"
10 HOMEPAGE="http://vncsnapshot.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
15 KEYWORDS="~amd64 ppc x86"
20 >=sys-libs/zlib-1.1.4"
24 epatch "${FILESDIR}/${P}-amd64grey.patch"
26 -e 's:-I/usr/local/include::g' \
27 -e 's:-L/usr/local/lib::g' \
28 -e '/^all:/s|$(SUBDIRS:.dir=.all)||g' \
29 -e '/^vnc/s|$| $(SUBDIRS:.dir=.all)|g' \
34 #note: We override CDEBUGFLAGS instead of CFLAGS because otherwise
35 # we lost the INCLUDES in the makefile.
37 emake CDEBUGFLAGS="${CXXFLAGS}" CC="$(tc-getCC)" CXX="$(tc-getCXX)"
42 cp vncsnapshot.man1 vncsnapshot.1