/[gentoo-x86]/net-misc/vnc/vnc-3.3.6-r1.ebuild
Gentoo

Contents of /net-misc/vnc/vnc-3.3.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Tue Nov 11 15:57:50 2003 UTC (15 years ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
old

1 aliz 1.1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3 vapier 1.6 # $Header: /home/cvsroot/gentoo-x86/net-misc/vnc/vnc-3.3.6-r1.ebuild,v 1.5 2003/09/05 22:01:49 msterret Exp $
4 aliz 1.1
5     inherit eutils
6    
7     IUSE="java tcpd"
8    
9     MY_P="${P}-unixsrc"
10    
11     DESCRIPTION="Remote desktop viewer display system"
12     HOMEPAGE="http://www.realvnc.com/"
13    
14     SRC_URI="http://www.realvnc.com/dist/${MY_P}.tar.gz"
15    
16     LICENSE="GPL-2"
17     SLOT="0"
18 pvdabeel 1.4 KEYWORDS="x86 -sparc -ppc"
19 aliz 1.1
20     DEPEND="tcpd? ( sys-apps/tcp-wrappers )"
21     RDEPEND="java? ( virtual/jre )"
22    
23     S="${WORKDIR}/${MY_P}"
24    
25     src_unpack() {
26     unpack ${A}
27     cd ${S}
28    
29     epatch ${FILESDIR}/${P}-gentoo.security.patch
30     }
31    
32     src_compile() {
33 msterret 1.5
34 aliz 1.1 export CXX="g++"
35    
36     econf || die "./configure failed"
37    
38 msterret 1.5 make
39    
40 aliz 1.1 cd Xvnc
41     if use tcpd
42     then
43     make \
44     EXTRA_LIBRARIES="-lwrap -lnss_nis" \
45     CDEBUGFLAGS="${CFLAGS}" \
46     CXXFLAGS="${CFLAGS}" \
47     World || die
48     else
49     make \
50     CDEBUGFLAGS="${CFLAGS}" \
51     CXXFLAGS="${CFLAGS}" \
52     World || die
53     fi
54    
55     }
56    
57     src_install () {
58 msterret 1.5
59 aliz 1.1 dodir /usr/bin /usr/share/man/man1
60    
61     ./vncinstall ${D}/usr/bin ${D}/usr/share/man || die
62    
63     if use java
64     then
65     cd ${S}/classes
66     insinto /usr/share/vnc/classes
67     doins *.class *.jar *.vnc
68 msterret 1.5 fi
69 aliz 1.1
70     cd ${S}
71     dodoc LICENCE.TXT README
72    
73     }
74    

  ViewVC Help
Powered by ViewVC 1.1.20