# HG changeset patch # User Antoine Bodin # Date 1325541979 -3600 # Node ID c380532e1854234912ad2b04aeb8a1fd8aa23afa # Parent 8e4c74abdf748b1d8ad1129f68dfd25ee381dc89 Up: novnc 201111004 (from godane's wok) # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 8e4c74abdf74 -r c380532e1854 novnc/receipt --- a/novnc/receipt Mon Jan 02 23:06:19 2012 +0100 +++ b/novnc/receipt Mon Jan 02 23:06:19 2012 +0100 @@ -1,28 +1,23 @@ # SliTaz package receipt. PACKAGE="novnc" -VERSION="20110901" +VERSION="201111004" CATEGORY="network" SHORT_DESC="VNC client in javascript." MAINTAINER="pascal.bellard@slitaz.org" WEB_SITE="http://github.com/kanaka/noVNC" -_TARBALL="$PACKAGE-$VERSION.tgz" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WGET_URL="git|git://github.com/kanaka/noVNC.git" DEPENDS="python python-numpy" -BUILD_DEPENDS="wget python python-pil openssl" +BUILD_DEPENDS="python python-pil openssl git" SUGGESTED="pyopenssl openssl" # Rules to configure and make the package. compile_rules() { - [ -s $SOURCES_REPOSITORY/$_TARBALL ] || - wget -O $SOURCES_REPOSITORY/$_TARBALL \ - $WEB_SITE/tarball/7b10dc8a485079fdc34847140fb0c993265e3a1e - mkdir -p $src cd $src - tar xzf $SOURCES_REPOSITORY/$_TARBALL mkdir -p $DESTDIR - cd kanaka* sed -i 's/bash/sh/;s/ps -p \([^ ]*\)/ps | grep "^ *\1 "/' utils/launch.sh IMAGE=/usr/share/images/slitaz-background.jpg [ -s $IMAGE ] && utils/img2js.py $IMAGE noVNC_logo > include/logo.js