wok view tightvnc/receipt @ rev 4723

Up: vte* (0.23.1)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Jan 05 15:58:12 2010 +0100 (2010-01-05)
parents ea00d246c1ab
children 866fa2493b1b
line source
1 # SliTaz package receipt.
3 PACKAGE="tightvnc"
4 VERSION="1.3.10"
5 CATEGORY="x-window"
6 SHORT_DESC="VNC server (graphical remote control)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-${VERSION}_unixsrc.tar.bz2"
9 WEB_SITE="http://www.tightvnc.com/"
10 WGET_URL="$SF_MIRROR/vnc-tight/$TARBALL"
11 DEPENDS="xfree86-base-fonts jpeg zlib"
12 BUILD_DEPENDS="xorg-imake xorg-gccmakedep xorg-cf-files xorg-libXp \
13 xorg-libXaw-dev xorg-libXt-dev xorg-xproto xorg-libXau-dev xorg-libXdmcp-dev \
14 xorg-libXmu-dev xorg-xextproto xorg-printproto xorg-kbproto xorg-inputproto \
15 xorg-scrnsaverproto"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 [ -d vnc_unixsrc ] && mv vnc_unixsrc $src
21 cd $src
22 xmkmf &&
23 make World &&
24 cd Xvnc &&
25 ./configure --prefix=/usr $CONFIGURE_ARGS || return 1
26 find -name Makefile | xargs sed -i 's|/usr/X11R6/bin|/usr/bin|g'
27 make &&
28 make DESTDIR=$PWD/../_pkg install
29 cd .. &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $_pkg/usr/bin/Xvnc $fs/usr/bin
38 cp $src/vncpasswd/vncpasswd $fs/usr/bin
39 }