wok diff v4l-dvb/receipt @ rev 8582

imported patch get/v4l-dvb
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:57 2011 +0100 (2011-02-13)
parents e14a2085bbee
children ac317c95f39c
line diff
     1.1 --- a/v4l-dvb/receipt	Sun Nov 28 16:56:05 2010 +0100
     1.2 +++ b/v4l-dvb/receipt	Sun Feb 13 22:57:57 2011 +0100
     1.3 @@ -9,18 +9,10 @@
     1.4  BUILD_DEPENDS="python mercurial coreutils-operations"
     1.5  WEB_SITE="http://linuxtv.org/hg/v4l-dvb/"
     1.6  TAGS="webcam"
     1.7 +WGET_URL="mercurial|$WEB_SITE"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules() {
    1.11 -  TARBALL=$SOURCES_REPOSITORY/$PACKAGE-hg-$VERSION.tar.gz
    1.12 -  if [ -d $PACKAGE-$VERSION ]; then
    1.13 -	true
    1.14 -  elif [ -f $TARBALL ]; then
    1.15 -	tar xzf $TARBALL
    1.16 -  else
    1.17 -	hg clone $WEB_SITE $PACKAGE-$VERSION &&
    1.18 -	tar czf $TARBALL $PACKAGE-$VERSION
    1.19 -  fi
    1.20    cd $src
    1.21    sed -i 's/0 | xargs -0n 255 ln -sf --target-directory=\./ | while read file; do ln -sf $file . ; done/' v4l/Makefile
    1.22    grep -rl /sbin/depmod * | xargs sed -i 's|/sbin/depmod|/bin/echo|'