blob: 2fa90f1b86de54902698f1150aee2df813c1ac2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/directvnc/directvnc-0.7.5.ebuild,v 1.7 2006/06/06 07:03:01 s4t4n Exp $
inherit eutils
DESCRIPTION="Very thin VNC client for unix framebuffer systems"
HOMEPAGE="http://adam-lilienthal.de/directvnc/"
SRC_URI="http://www.adam-lilienthal.de/directvnc/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc ~amd64"
IUSE=""
DEPEND="dev-libs/DirectFB
dev-util/pkgconfig
>=sys-apps/sed-4"
src_compile() {
econf || die
# Fix bug #116148, DFBGraphicsDeviceDescription is no longer present in
# newer DirectFB version, but the application never uses it :-/
local comment_out="DFBCardCapabilities caps;"
sed -i -e "s:${comment_out}://${comment_out}:" src/dfb.c
emake DEBUGFLAGS="${CFLAGS}" || die
}
src_install() {
make install DESTDIR=${D} || die
rm -rf ${D}/usr/doc
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
}
|