wok-6.x view tightvnc/receipt @ rev 6744
gcc,gcc+gcj: add --enable-gold for link time optimizations
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 17 12:06:47 2010 +0200 (2010-10-17) |
parents | 94df704e5b86 |
children | d49009465257 |
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"
16 TAGS="remote-desktop"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 [ -d vnc_unixsrc ] && mv vnc_unixsrc $src
22 cd $src
23 xmkmf &&
24 make World &&
25 cd Xvnc &&
26 ./configure --prefix=/usr $CONFIGURE_ARGS || return 1
27 find -name Makefile | xargs sed -i 's|/usr/X11R6/bin|/usr/bin|g'
28 make &&
29 make DESTDIR=$PWD/../_pkg install
30 cd .. &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $_pkg/usr/bin/Xvnc $fs/usr/bin
39 cp $src/vncpasswd/vncpasswd $fs/usr/bin
40 }