wok-next rev 11575

Up: novnc 201111004 (from godane's wok)

# Rules to gen a SliTaz package suitable for Tazpkg.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:19 2012 +0100 (2012-01-02)
parents 8e4c74abdf74
children 87d98b449875
files novnc/receipt
line diff
     1.1 --- a/novnc/receipt	Mon Jan 02 23:06:19 2012 +0100
     1.2 +++ b/novnc/receipt	Mon Jan 02 23:06:19 2012 +0100
     1.3 @@ -1,28 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="novnc"
     1.7 -VERSION="20110901"
     1.8 +VERSION="201111004"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="VNC client in javascript."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  WEB_SITE="http://github.com/kanaka/noVNC"
    1.13 -_TARBALL="$PACKAGE-$VERSION.tgz"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +WGET_URL="git|git://github.com/kanaka/noVNC.git"
    1.16  
    1.17  DEPENDS="python python-numpy"
    1.18 -BUILD_DEPENDS="wget python python-pil openssl"
    1.19 +BUILD_DEPENDS="python python-pil openssl git"
    1.20  SUGGESTED="pyopenssl openssl"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -	[ -s $SOURCES_REPOSITORY/$_TARBALL ] ||
    1.26 -	   wget -O $SOURCES_REPOSITORY/$_TARBALL \
    1.27 -	     $WEB_SITE/tarball/7b10dc8a485079fdc34847140fb0c993265e3a1e
    1.28 -	mkdir -p $src
    1.29  	cd $src
    1.30 -	tar xzf $SOURCES_REPOSITORY/$_TARBALL
    1.31  	mkdir -p $DESTDIR
    1.32 -	cd kanaka*
    1.33  	sed -i 's/bash/sh/;s/ps -p \([^ ]*\)/ps | grep "^ *\1 "/' utils/launch.sh
    1.34  	IMAGE=/usr/share/images/slitaz-background.jpg
    1.35  	[ -s $IMAGE ] && utils/img2js.py $IMAGE noVNC_logo > include/logo.js