wok rev 3631

Add tightvnc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 02 16:43:18 2009 +0200 (2009-07-02)
parents 5b931c2fda37
children ea00d246c1ab
files tightvnc-viewer/receipt tightvnc/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tightvnc-viewer/receipt	Thu Jul 02 16:43:18 2009 +0200
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tightvnc-viewer"
     1.7 +VERSION="1.3.10"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="VNC client for X."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://www.tightvnc.com/"
    1.12 +DEPENDS="jpeg zlib xorg-libXdmcp xorg-libXau xorg-libX11 xorg-libXext \
    1.13 +xorg-libXp xorg-libXpm xorg-libICE xorg-libSM xorg-libXt xorg-libXmu \
    1.14 +xorg-libXaw"
    1.15 +WANTED="tightvnc"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/bin
    1.21 +	cp -a $_pkg/usr/bin/vncviewer $fs/usr/bin
    1.22 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/tightvnc/receipt	Thu Jul 02 16:43:18 2009 +0200
     2.3 @@ -0,0 +1,35 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="tightvnc"
     2.7 +VERSION="1.3.10"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="VNC server (graphical remote control)."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +TARBALL="$PACKAGE-${VERSION}_unixsrc.tar.bz2"
    2.12 +WEB_SITE="http://www.tightvnc.com/"
    2.13 +WGET_URL="$SF_MIRROR/vnc-tight/$TARBALL"
    2.14 +DEPENDS="xfree86-base-fonts jpeg zlib"
    2.15 +BUILD_DEPENDS="xorg-imake xorg-gccmakedep xorg-cf-files xorg-libXp"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	[ -d vnc_unixsrc ] && mv vnc_unixsrc $src
    2.21 +	cd $src
    2.22 +	xmkmf &&
    2.23 +	make World &&
    2.24 +	cd Xvnc &&
    2.25 +	./configure --prefix=/usr $CONFIGURE_ARGS || return 1
    2.26 +	find -name Makefile | xargs sed -i 's|/usr/X11R6/bin|/usr/bin|g'
    2.27 +	make &&
    2.28 +	make DESTDIR=$PWD/../_pkg install
    2.29 +	cd .. &&
    2.30 +	make DESTDIR=$PWD/_pkg install
    2.31 +}
    2.32 +
    2.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.34 +genpkg_rules()
    2.35 +{
    2.36 +	mkdir -p $fs/usr/bin
    2.37 +	cp -a $_pkg/usr/bin/Xvnc $fs/usr/bin
    2.38 +}