wok view tightvnc/receipt @ rev 3631
Add tightvnc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 02 16:43:18 2009 +0200 (2009-07-02) |
parents | |
children | ea00d246c1ab |
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 [ -d vnc_unixsrc ] && mv vnc_unixsrc $src
18 cd $src
19 xmkmf &&
20 make World &&
21 cd Xvnc &&
22 ./configure --prefix=/usr $CONFIGURE_ARGS || return 1
23 find -name Makefile | xargs sed -i 's|/usr/X11R6/bin|/usr/bin|g'
24 make &&
25 make DESTDIR=$PWD/../_pkg install
26 cd .. &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $_pkg/usr/bin/Xvnc $fs/usr/bin
35 }