| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/vncrec/vncrec-0.2-r1.ebuild,v 1.1 2010/09/28 18:28:34 jer Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
inherit eutils toolchain-funcs |
| 8 |
|
| 9 |
DESCRIPTION="VNC session recorder and player" |
| 10 |
HOMEPAGE="http://www.sodan.org/~penny/vncrec/" |
| 11 |
SRC_URI="http://www.sodan.org/~penny/${PN}/${P}.tar.gz" |
| 12 |
|
| 13 |
LICENSE="GPL-2" |
| 14 |
SLOT="0" |
| 15 |
KEYWORDS="~amd64 ~ppc ~x86" |
| 16 |
IUSE="" |
| 17 |
|
| 18 |
RDEPEND="x11-libs/libXaw |
| 19 |
x11-libs/libXext |
| 20 |
x11-libs/libXmu |
| 21 |
x11-libs/libXp |
| 22 |
x11-libs/libXpm |
| 23 |
x11-libs/libXt" |
| 24 |
DEPEND="${RDEPEND} |
| 25 |
app-text/rman |
| 26 |
x11-misc/gccmakedep |
| 27 |
x11-misc/imake |
| 28 |
x11-proto/xextproto" |
| 29 |
|
| 30 |
DOCS=( README README.vnc ) |
| 31 |
|
| 32 |
src_prepare() { |
| 33 |
epatch "${FILESDIR}"/${P}-includes.patch |
| 34 |
touch vncrec/vncrec.man || die |
| 35 |
sed -i Imakefile \ |
| 36 |
-e '/make Makefiles/d' \ |
| 37 |
|| die "sed Imakefile" |
| 38 |
} |
| 39 |
|
| 40 |
src_configure() { |
| 41 |
xmkmf -a || die |
| 42 |
} |
| 43 |
|
| 44 |
src_compile() { |
| 45 |
emake \ |
| 46 |
CC=$(tc-getCC) \ |
| 47 |
CCOPTIONS="${CXXFLAGS}" \ |
| 48 |
EXTRA_LDOPTIONS="${LDFLAGS}" \ |
| 49 |
World |
| 50 |
} |