/[gentoo-x86]/net-misc/directvnc/directvnc-0.7.5-r1.ebuild
Gentoo

Contents of /net-misc/directvnc/directvnc-0.7.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat May 5 03:20:44 2012 UTC (23 months, 1 week ago) by jdhore
Branch: MAIN
Changes since 1.4: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

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/directvnc/directvnc-0.7.5-r1.ebuild,v 1.4 2011/02/26 21:51:43 signals Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Very thin VNC client for unix framebuffer systems"
8 HOMEPAGE="http://adam-lilienthal.de/directvnc/"
9 SRC_URI="http://www.adam-lilienthal.de/directvnc/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="x86 ~ppc ~amd64"
14 IUSE="mouse"
15
16 RDEPEND="dev-libs/DirectFB
17 virtual/jpeg"
18
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig
21 >=sys-apps/sed-4
22 x11-proto/xproto"
23
24 src_unpack() {
25 unpack ${A}
26
27 # Make mouse support optional
28 cd "${S}/src"
29 use mouse || epatch "${FILESDIR}/${PN}-mouse.patch"
30 }
31
32 src_compile() {
33 econf || die
34
35 # Fix bug #116148, DFBGraphicsDeviceDescription is no longer present in
36 # newer DirectFB version, but the application never uses it :-/
37 local comment_out="DFBCardCapabilities caps;"
38 sed -i -e "s:${comment_out}://${comment_out}:" src/dfb.c
39
40 emake DEBUGFLAGS="${CFLAGS}" AM_LDFLAGS="${LDFLAGS}" || die
41 }
42
43 src_install() {
44 make install DESTDIR="${D}" || die
45 rm -rf "${D}/usr/doc"
46 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
47 }

  ViewVC Help
Powered by ViewVC 1.1.20