wok diff fbvnc/receipt @ rev 16504

Fix tcl build on ARM and add tcllib
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 24 03:51:21 2014 +0200 (2014-04-24)
parents f740103ca6ee
children 6e8b1bcb30e2
line diff
     1.1 --- a/fbvnc/receipt	Thu Jul 18 10:32:56 2013 +0000
     1.2 +++ b/fbvnc/receipt	Thu Apr 24 03:51:21 2014 +0200
     1.3 @@ -1,34 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fbvnc"
     1.7 -VERSION="20110416"
     1.8 +VERSION="20130314"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="VNC client in frame buffer."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WEB_SITE="http://repo.or.cz/w/fbvnc.git"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 +WGET_URL="git|git://repo.or.cz/fbvnc.git"
    1.17  TAGS="vnc remote-desktop"
    1.18 +HOST_ARCH="i486 arm"
    1.19 +
    1.20 +# Git must be installed in a cross chroot
    1.21 +case "$ARCH" in
    1.22 +	i?86) BUILD_DEPENDS="git" ;;
    1.23 +esac
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	[ -s $SOURCES_REPOSITORY/$TARBALL ] || 
    1.29 -	  wget -O $SOURCES_REPOSITORY/$TARBALL \
    1.30 -	   $WEB_SITE/snapshot/e42bc02b14b3331e7c7f45c6b42179d0af99ed7b.tar.gz
    1.31 -	mkdir -p $src
    1.32 -	cd $src
    1.33 -	tar xzf $SOURCES_REPOSITORY/$TARBALL
    1.34 -	mkdir $DESTDIR
    1.35 -	cd fbvnc
    1.36 -	patch -p0 < $stuff/fbvnc.u &&
    1.37 -	make && cp fbvnc $DESTDIR
    1.38 +	#patch -p0 < $stuff/fbvnc.u &&
    1.39 +	sed -i s"/cc/${HOST_SYSTEM}-gcc/" Makefile &&
    1.40 +	make
    1.41  }
    1.42  
    1.43 -
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45  genpkg_rules()
    1.46  {
    1.47  	mkdir -p $fs/usr/bin
    1.48 -	cp $install/fbvnc $fs/usr/bin
    1.49 +	cp -a $src/fbvnc $fs/usr/bin
    1.50  }