wok-next annotate tightvnc/receipt @ rev 3793

Upgrade: lxappearance (0.2 to 0.2.1)
author Matthew Sheets <rcx@zoominternet.net>
date Mon Aug 03 11:40:58 2009 +0000 (2009-08-03)
parents c84e8a8993a0
children 94df704e5b86
rev   line source
pascal@3631 1 # SliTaz package receipt.
pascal@3631 2
pascal@3631 3 PACKAGE="tightvnc"
pascal@3631 4 VERSION="1.3.10"
pascal@3631 5 CATEGORY="x-window"
pascal@3631 6 SHORT_DESC="VNC server (graphical remote control)."
pascal@3631 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@3631 8 TARBALL="$PACKAGE-${VERSION}_unixsrc.tar.bz2"
pascal@3631 9 WEB_SITE="http://www.tightvnc.com/"
pascal@3631 10 WGET_URL="$SF_MIRROR/vnc-tight/$TARBALL"
pascal@3631 11 DEPENDS="xfree86-base-fonts jpeg zlib"
pascal@3631 12 BUILD_DEPENDS="xorg-imake xorg-gccmakedep xorg-cf-files xorg-libXp"
pascal@3631 13
pascal@3631 14 # Rules to configure and make the package.
pascal@3631 15 compile_rules()
pascal@3631 16 {
pascal@3631 17 [ -d vnc_unixsrc ] && mv vnc_unixsrc $src
pascal@3631 18 cd $src
pascal@3631 19 xmkmf &&
pascal@3631 20 make World &&
pascal@3631 21 cd Xvnc &&
pascal@3631 22 ./configure --prefix=/usr $CONFIGURE_ARGS || return 1
pascal@3631 23 find -name Makefile | xargs sed -i 's|/usr/X11R6/bin|/usr/bin|g'
pascal@3631 24 make &&
pascal@3631 25 make DESTDIR=$PWD/../_pkg install
pascal@3631 26 cd .. &&
pascal@3631 27 make DESTDIR=$PWD/_pkg install
pascal@3631 28 }
pascal@3631 29
pascal@3631 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3631 31 genpkg_rules()
pascal@3631 32 {
pascal@3631 33 mkdir -p $fs/usr/bin
pascal@3631 34 cp -a $_pkg/usr/bin/Xvnc $fs/usr/bin
pascal@3632 35 cp $src/vncpasswd/vncpasswd $fs/usr/bin
pascal@3631 36 }