wok-stable diff linmodem-hsfmodem/receipt @ rev 10615
ncmpc: fix WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 18:12:16 2011 +0200 (2011-05-26) |
parents | 9bbc51dbc27f |
children | 51dc38f6efca |
line diff
1.1 --- a/linmodem-hsfmodem/receipt Thu Mar 03 20:40:17 2011 +0100 1.2 +++ b/linmodem-hsfmodem/receipt Thu May 26 18:12:16 2011 +0200 1.3 @@ -7,7 +7,7 @@ 1.4 SHORT_DESC="Driver for the Conexant (formerly Rockwell) HSF Softmodem family." 1.5 MAINTAINER="orphaned@sliatz.org" 1.6 DEPENDS="module-init-tools perl usbutils" 1.7 -BUILD_DEPENDS="cpio linux lzma linux-module-headers" 1.8 +BUILD_DEPENDS="cpio linux lzma linux-module-headers util-linux-ng-getopt" 1.9 TARBALL="$SOURCE-$VERSION.tar.gz" 1.10 WEB_SITE="http://www.linuxant.com/drivers" 1.11 WGET_URL="http://www.linuxant.com/drivers/hsf/full/archive/$SOURCE-$VERSION/$TARBALL" 1.12 @@ -18,7 +18,7 @@ 1.13 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.14 cd $src 1.15 echo "Apply $file..." 1.16 - patch -p1 < $stuff/$SOURCE-*.diff || return 1 1.17 + patch -p1 < $(ls $stuff/$SOURCE-*.diff) || return 1 1.18 grep -rl 'uname -r' . | xargs sed -i "s/uname -r/echo $KERNEL_VERSION/g" 1.19 # build driver 1.20 echo "Build driver"