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

Contents of /net-misc/directvnc/directvnc-0.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Thu Jul 4 03:34:34 2002 UTC (16 years, 9 months ago) by g2boojum
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fixed DirectFB dep.

1 g2boojum 1.1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3 g2boojum 1.2 # $Header: /home/cvsroot/gentoo-x86/net-misc/directvnc/directvnc-0.6.ebuild,v 1.1 2002/05/31 15:00:49 g2boojum Exp $
4 g2boojum 1.1
5     DESCRIPTION="Very thin VNC client for unix framebuffer systems"
6    
7     HOMEPAGE="http://adam-lilienthal.de/directvnc"
8    
9     LICENSE="GPL-2"
10    
11     DEPEND=">=dev-libs/DirectFB-0.9.10 sys-devel/automake sys-devel/autoconf"
12    
13     #RDEPEND=""
14    
15     SRC_URI="http://freesoftware.fsf.org/download/${PN}/${P}.tar.gz"
16    
17     S=${WORKDIR}/${P}
18    
19     src_unpack() {
20     unpack ${A}
21     cd ${S}
22     #fix broken Makefile.am
23     cd src
24     mv Makefile.am Makefile.am.orig
25     sed -e 's/-$(DIRECTFB_LIBS)/$(DIRECTFB_LIBS)/' Makefile.am.orig > Makefile.am
26     cd ..
27     aclocal || die "aclocal failed"
28     autoconf || die "autoconf failed"
29     automake || die "automake failed"
30     }
31    
32     src_compile() {
33     ./configure \
34     --host=${CHOST} \
35     --prefix=/usr \
36     --infodir=/usr/share/info \
37     --mandir=/usr/share/man || die "./configure failed"
38     make || die
39     }
40    
41     src_install () {
42     make DESTDIR=${D} install || die
43     # For Makefiles that don't make proper use of DESTDIR, setting
44     # prefix is often an alternative. However if you do this, then
45     # you also need to specify mandir and infodir, since they were
46     # passed to ./configure as absolute paths (overriding the prefix
47     # setting).
48     #make \
49     # prefix=${D}/usr \
50     # mandir=${D}/usr/share/man \
51     # infodir=${D}/usr/share/info \
52     # install || die
53     # Again, verify the Makefiles! We don't want anything falling
54     # outside of ${D}.
55     }

  ViewVC Help
Powered by ViewVC 1.1.20