# HG changeset patch # User Antoine Bodin # Date 1297634277 -3600 # Node ID 756ed4b1daac1efcd31daa7602f7f9f4a261d881 # Parent 5e040c318c37603f6e51d3593af83ed792a592ef imported patch get/v4l-dvb diff -r 5e040c318c37 -r 756ed4b1daac v4l-dvb/receipt --- a/v4l-dvb/receipt Sun Feb 13 22:57:57 2011 +0100 +++ b/v4l-dvb/receipt Sun Feb 13 22:57:57 2011 +0100 @@ -9,18 +9,10 @@ BUILD_DEPENDS="python mercurial coreutils-operations" WEB_SITE="http://linuxtv.org/hg/v4l-dvb/" TAGS="webcam" +WGET_URL="mercurial|$WEB_SITE" # Rules to configure and make the package. compile_rules() { - TARBALL=$SOURCES_REPOSITORY/$PACKAGE-hg-$VERSION.tar.gz - if [ -d $PACKAGE-$VERSION ]; then - true - elif [ -f $TARBALL ]; then - tar xzf $TARBALL - else - hg clone $WEB_SITE $PACKAGE-$VERSION && - tar czf $TARBALL $PACKAGE-$VERSION - fi cd $src sed -i 's/0 | xargs -0n 255 ln -sf --target-directory=\./ | while read file; do ln -sf $file . ; done/' v4l/Makefile grep -rl /sbin/depmod * | xargs sed -i 's|/sbin/depmod|/bin/echo|'