blob: 5850a5edb72e30d44f414ef542df693f13651071 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Grant Goodyear <g2boojum@hotmail.com>
# /home/cvsroot/gentoo-x86/skel.build,v 1.2 2001/02/15 18:17:31 achim Exp
# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/vnc-3.3.3-r2.ebuild,v 1.5 2001/10/06 15:30:16 danarmak Exp $
#P=
A="vnc-3.3.3r2_unixsrc.tgz"
S=${WORKDIR}/vnc_unixsrc
DESCRIPTION=""
SRC_URI="http://www.uk.research.att.com/vnc/dist/${A}"
HOMEPAGE="http://www.uk.research.att.com/vnc/index.html"
DEPEND=""
src_compile() {
#imake and the vnc build process possess amazing suckage skills
#hoping some poor developer takes pitty on vnc and fixes it
cd ${S}
cd Xvnc/config/cf
mv Imake.cf Imake.cf.orig
#insist that the machine is an i386 for the Xvnc build
sed -e '/#ifdef linux/a\# define i386' Imake.cf.orig > Imake.cf
cd ${S}
try xmkmf
#FIXME: my dirty little fix to fix imake brain damage
try make Makefiles
try make depend
cp ${FILESDIR}/vncviewer-makefile-3.3.3r2 ${S}/vncviewer/Makefile
try make all
#FIXME: Xvnc build doesn't respect user CFLAGS settings
cd Xvnc
try make World
}
src_install () {
cd ${S}
mkdir -p ${D}/usr/bin
try ./vncinstall ${D}/usr/bin
}
|